clc
clear

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

plot(x,left,'r','LineWidth',2)
plot(x,right,'b--','LineWidth',2)

Embed on website

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