x = -5:0.01:5;

y = 2*x.*sin(x).*cos(x) + x.^3;

plot(x,y)
title('Graph of y')
xlabel('x')
ylabel('y')

Embed on website

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