Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

where t is the time in seconds and y(t) is the blood pressure. Create an array f

ID: 3550154 • Letter: W

Question

where t is the time in seconds and y(t) is the blood pressure.  Create an array for time that goes from 0 to 0.5 seconds in increments of 0.0025 seconds.  Calculate the blood pressure for each of these times.  Plot the pressure as a function of time using a dashed red line. Add label describing the axes.

One model used to describe the blood pressure in the aorta during systole is y(t) = e-8t sin(9.7t + alpha2) where t is the time in seconds and y(t) is the blood pressure. Create an array for time that goes from 0 to 0.5 seconds in increments of 0.0025 seconds. Calculate the blood pressure for each of these times. Plot the pressure as a function of time using a dashed red line. Add label describing the axes.

Explanation / Answer

t=0:0.0025:0.5;


x=length(t)


for i=1:x


y(i)=e^(-8*t(i))*sin((9.7*t(i))+pi/2);


end


for i=1:x

plot(t(i),y(i))

hold on

end

try this one