You got to put the past behind you before you can move on.
dx 应该为 double ,应该 return 1.0*(f(dx)-f(x))/exp