InsightWorks
newton.ox is a basic implementation of Newton's method in the Ox programming language. The file test.ox is an example showing how it is used. The algorithm checks for numerical errors, such as dividing by zero, that result in NaNs (not a number). To see what happens when a NaN occurs, run the program test-nan.ox.