MCPcopy Create free account
hub / github.com/subbarayudu-j/TheAlgorithms-Python / newton_method.py

File newton_method.py

arithmetic_analysis/newton_method.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# Newton's Method - https://en.wikipedia.org/wiki/Newton%27s_method
2
3def newton(function,function1,startingInt): #function is the f(x) and function1 is the f'(x)
4 x_n=startingInt

Callers

nothing calls this directly

Calls 1

newtonFunction · 0.85

Tested by

no test coverage detected