function ferr = f(x)
ferr = sin(x)*x-1;
