def f(x): y=x**3-5*x+2 return y a=-1.5 for i in range(3): b=a+i/2 print("f(",b,") =",f(b))