mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 10:28:39 +00:00
Update arithmetic_analysis/newton_raphson.py
Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
parent
daf594dd50
commit
8d6f837303
@ -1,7 +1,8 @@
|
|||||||
# Implementing Newton Raphson method in Python
|
# Implementing Newton Raphson method in Python
|
||||||
# Author: Syed Haseeb Shah (github.com/QuantumNovice)
|
# Author: Syed Haseeb Shah (github.com/QuantumNovice)
|
||||||
# The Newton-Raphson method (also known as Newton's method) is a way to
|
# The Newton-Raphson method (also known as Newton's method) is a way to
|
||||||
# quickly find a good approximation for the root of a real-valued function
|
# quickly find a good approximation for the root of a real-valued function.
|
||||||
|
# https://en.wikipedia.org/wiki/Newton%27s_method
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from sympy import diff, symbols, sympify
|
from sympy import diff, symbols, sympify
|
||||||
|
Loading…
x
Reference in New Issue
Block a user