function f=poly1(x)
% Polynomial function of x.

f = x.^3.0-x.^2.0+x-1.0;