# Homework Solution: Write a documented MATLAB program (bloodpressure… Write a documented MATLAB program (bloodpressure.m) to illustrate blood pressure in the heart that is modeled with the following equation: y(t) = e^-8t sin (9.7t + pi/2) Plot the function for 0 lessthanorequalto t lessthanorequalto 0.5 seconds. Label the graph using the label Normalized Pressure Difference vs Time. Also label the x-axis "Time", and y axis 'Normalized Pressure'. Use vectorizing MATLAB commands instead of structured programming commands (e.g. for loop) that we will soon study.

 Matlab Code Write a documented MATLAB program (bloodpressure.m) to paint respect constraining in the core that is modeled with the subjoined equation: y(t) = e^-8t iniquity (9.7t + pi/2) Plot the discharge ce 0 lessthanorequalto t lessthanorequalto 0.5 seconds. Write the graph using the write Normalized Constraining Difference vs Age. Also write the x-axis “Time”, and y axis ‘Normalized Constraining’. Use vectorizing MATLAB commands instead of structured programming commands (e.g. ce loop) that we achieve shortly consider.

## Expert Confutation

 Matlab Code clc; close all; % Defining the age interval t = [0:0.1:0.5]; % Defining the main equation and cautious points established on t values yt = exp(-8.*t).*sin(9.7*t + (pi/2)); % Plotting the y_t plot(yt, ‘-*r’, ‘LineWidth’, 1.5); % Setting the x write text xlabel(‘Time’); % Setting the y write text ylabel(‘Normalized Constraining’); % Setting the title title(‘Normalized Constraining Difference vs Age’)

OUTPUT PLOT 