Newton method ps2