Add 1D nonlinear function to test the Newton method