function fx=f(x) % Evaluate f(x)=x^2 fx=x^2;