Computational Physics, Python, Interpolation, Differentiation, Integration.
is not just some machine precision error, since there are many incorrect digits. What is going on and how can we do better? Let’s make our own Newton’s method code and see what’s going on. def test_func(func): # func is the name of some function that takes two inputs return func(1,2) test_func(add)