The concentration (C) of insulin in the body is described by the following equation C = C0e^-40t / M Where C0 = 85 pmol/L is the initial insulin concentration, t is time in minutes, M is the person mass in kg. a) Write code that will calculate the insulin concentration of two people with weighs 60 Kg and 100 Kg. Simulate the insulin concentration for 4 minutes in steps of 0.1 minute. b) Plot the insulin concentration of the two people on the same graph. For the first curve plot a magenta solid line, square marker, cyan for MarkerFaceColor, and MarkerSize of 6. For the second curve plot a black dashed line with LineWidth of 2. c) Your plot should have a title, a legend, and appropriate labels for the x and y axis.
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
The concentration (C) of insulin in the body is described by the following equation
C = C0e^-40t / M
Where
C0 = 85 pmol/L is the initial insulin concentration, t is time in minutes, M is the person
mass in kg.
a) Write code that will calculate the insulin concentration of two people with weighs 60
Kg and 100 Kg. Simulate the insulin concentration for 4 minutes in steps of 0.1
minute.
b) Plot the insulin concentration of the two people on the same graph. For the first
curve plot a magenta solid line, square marker, cyan for MarkerFaceColor, and
MarkerSize of 6. For the second curve plot a black dashed line with LineWidth of 2.
c) Your plot should have a title, a legend, and appropriate labels for the x and y axis.
Step by step
Solved in 3 steps with 1 images
I would like to get the solution to the above question in Matlab coding