MATLAB: How is this written

homeworkwriting functions

Keep getting errors

Best Answer

x=2;
y= sin(2*x)/5 + sin(x).^2 - 2*sin(x).*cos(x);