mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
Update newton_raphson_method.py (#1057)
This commit is contained in:
parent
61fec83242
commit
5b5beb61d6
@ -1,5 +1,5 @@
|
||||
# Implementing Newton Raphson method in Python
|
||||
# Author: Haseeb
|
||||
# Author: Syed Haseeb Shah (github.com/QuantumNovice)
|
||||
|
||||
from sympy import diff
|
||||
from decimal import Decimal
|
||||
@ -30,7 +30,3 @@ if __name__ == '__main__':
|
||||
|
||||
# Exponential Roots
|
||||
print ('exp(x) - 1 = 0', NewtonRaphson('exp(x) - 1', 0))
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user