test(f,a,b)=f=eval(f);f(a)-f(b); test("x->print(x);x^2-sin(x)",1,3)