Update newton_raphson_method.py (#1057)

This commit is contained in:
QuantumNovice 2019-07-20 20:33:04 +05:00 committed by Christian Clauss
parent 61fec83242
commit 5b5beb61d6

View File

@ -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))