x=-pi: pi/10: pi;
fplot(@(x) sqrt(1+2.*x.^2+(sin(x)).^2), [-pi 0], 'b')
hold on
fplot (@(x) (2+x)./nthroot(2+exp(-0.5.*x),3),[0 pi], 'r')
grid on

Embed on website

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