Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The student must use the following case provided and apply most of the commands learned in the previous modules. You should use the command folder

The student must use the following case provided and apply most of the commands learned in the previous modules. You should use the command folder that you must be expanding with each module.
Case (Gilat,2015):
The concentration of a drug in the body Cpp 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

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions

Question

Make efficient use of your practice time?

Answered: 1 week ago