clc
clear
disp "Taylor Waller"

x = -5:0.1:5;

left = sinh(x);
right = (exp(x) - exp(-x)) / 2;

plot(x, left, 'b', x, right, 'r--');

xlabel('x');
ylabel('y');
title('Checking the sinh(x) Equation');
legend('sinh(x)', '(e^x - e^{-x})/2');
grid on;

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: