function out=fun2(x)
out=x.^2-sin(x);