Answered step by step
Verified Expert Solution
Question
1 Approved Answer
ANSWER PART B, I HAVE PART A. MATLAB ONLY!! WRITE IN COMPUTER SO I CAN COPY PASTE!! The student must use the following case provided
ANSWER PART B, I HAVE PART A.
MATLAB ONLY!! WRITE IN COMPUTER SO I CAN COPY PASTE!! The student must use the following case provided and apply most of the commands leared 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 Cp can be modeled by the equation: Doka (e-ketek) Va (ka-k) Where Do is the dosage administrated (mg). Ve is the volume of distribution (L), k, is the absorption rate constant (h ), k, is the elimination rate constant (h ), and t is the time (h) since the drug was administered. For a certain drug, the following quantities are given Dc 150 mg, V = 50 L, ke=0.4h, ka = 1.6 -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 (ie 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. 5:39 Facebook al "Hey, Note: Brother if you have any queries related the answer please do comment. I would be very happy to resolve all your queries. clc% helps in clearing screen clear all% helps in clearing history close all% helps in closing files if any Dg=150; Vd 50; ke=0.4; ka=1.6; t=0:0.1:10: i=1; while(i 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