Question: Instructions: 1 . Create using MATLAB. 2 . Use the following case: The concentration of a drug in the body C p can be modeled

Instructions:
1. Create using MATLAB.
2. Use the following case:
The concentration of a drug in the body Cp can be modeled by the equation:
Cp=DGVdka(ka-ke)(e-ket-e-kat)
Where DG is the dosage administrated (mg),Vd is the volume of distribution (L),ke is the absorption rate constant (h-1),ka is the elimination rate constant (h-1), and t is the time (h) since the drug was administered.
For a certain drug, the following quantities are given: DG150mg,Vd=50L,ke=0.4h-1,ka=1.6h-1
Create a program editor that use while-loop prints in a single graph the function of sine
a) A single dose is administered at t=0. Calculate and plot Cp vs t for 10 hours. Hint: to get a smooth graph use 0.1 as time interval
b) A fist dose is administered at t=0, and subsequently four more doses are administered at intervals of 4 hours (i.e. at 4,8,12, and 16). Calculate and plot Cp vs t for 24 hours. Hint: use continue command in this case.
c) Build the flowchart that represent the program.
 Instructions: 1. Create using MATLAB. 2. Use the following case: The

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!