Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The concentration of a drug in the body CP can be modeled by the equation: Dc V (k-k.) where DG is the dose administered (mg),
The concentration of a drug in the body CP can be modeled by the equation: Dc V (k-k.) where DG is the dose administered (mg), Vd is the volume of distribution (L.), ka is the absorption rate rate constant (h-1), and t is the time ), ka is the absorption rate constant (h-1), ke is the elimination e (h) since the drug was administered. For a certain drug, the following quantities are given: DG 150 mg a first dose is administered at t -0, and subsequently tour more doses are administered at intervals of 4 hours (i.e. at t 4,8, 12, to calculate Cp for 16), Write a MATLAB program to calculate and plot Cp versus t for 24 hours in increments of 0.1 hours. Use a for loop each time increment and add drug dosages at the appropriate times. Consider using a loop counter (eg, k-k+1) to address the Cp array at each time increment (ie. Cp(k) To plot Cp versus t, you may need to create an array for the x-axis values (or time values) Your Script Save Reset ? MATLAB Documentation 11 DG- 150 %dose administered (mg) 2 Vd- se Volume of distribution (L) 3: kas 1.6 %Absoption rate constant (h^-1) 4ke 1.4 %Elimination rate constant (h"-1) Run Script Assessment Submit The concentration of a drug in the body CP can be modeled by the equation: Dc V (k-k.) where DG is the dose administered (mg), Vd is the volume of distribution (L.), ka is the absorption rate rate constant (h-1), and t is the time ), ka is the absorption rate constant (h-1), ke is the elimination e (h) since the drug was administered. For a certain drug, the following quantities are given: DG 150 mg a first dose is administered at t -0, and subsequently tour more doses are administered at intervals of 4 hours (i.e. at t 4,8, 12, to calculate Cp for 16), Write a MATLAB program to calculate and plot Cp versus t for 24 hours in increments of 0.1 hours. Use a for loop each time increment and add drug dosages at the appropriate times. Consider using a loop counter (eg, k-k+1) to address the Cp array at each time increment (ie. Cp(k) To plot Cp versus t, you may need to create an array for the x-axis values (or time values) Your Script Save Reset ? MATLAB Documentation 11 DG- 150 %dose administered (mg) 2 Vd- se Volume of distribution (L) 3: kas 1.6 %Absoption rate constant (h^-1) 4ke 1.4 %Elimination rate constant (h"-1) Run Script Assessment Submit
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started