SUNY Geneseo Department of Mathematics
Wednesday, March 23
Math 230 02
Spring 2016
Prof. Doug Baldwin
newton( f, fPrime, x, tolerance )
relativeDelta = tolerance * 2
while relativeDelta > tolerance
deltaX = f(x) / fPrime(x)
relativeDelta = | deltaX / x |
x = x - deltaX
end
return x