Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

If you dont have a good BATNA, you shouldnt bother to negotiate.

Answered: 1 week ago