function[y] = myfun(x)
y=x^3-8;
%y=cos(x)-x^3;