kepler_newton kepler_newton: Use Newton's method to seek a root of the kepler function. it = 0 x = 3 f(x) = 2.28224 it = 1 x = 3.765856211130886 f(x) = 0.065144 it = 2 x = 3.790693912837725 f(x) = 0.00036471 it = 3 x = 3.790834550863825 f(x) = 1.19566e-08 it = 4 x = 3.79083455547478 f(x) = -2.22045e-16 Number of steps = 4 f(3.79083) = -2.22045e-16 diary off jump_newton jump_newton: Use Newton's method to seek a root of the jump function. it = 0 x = 7 f(x) = 0.625277 it = 1 x = 7.329739105576416 f(x) = -0.015229 it = 2 x = 7.321840640954948 f(x) = 1.26005e-05 it = 3 x = 7.321847165413931 f(x) = 8.31424e-12 it = 4 x = 7.321847165418236 f(x) = 0 Number of steps = 4 f(7.32185) = 0 diary jump_newton.txt