From 2a87e8625f719b564fb75bd97a5785f5231978af Mon Sep 17 00:00:00 2001 From: phaluch <43946597+phaluch@users.noreply.github.com> Date: Mon, 8 Oct 2018 03:03:53 -0300 Subject: [PATCH] Grammar corrections Just small corrections to grammar and spelling, no code change. --- ArithmeticAnalysis/NewtonRaphsonMethod.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ArithmeticAnalysis/NewtonRaphsonMethod.py b/ArithmeticAnalysis/NewtonRaphsonMethod.py index 40501134e..e7abb64e7 100644 --- a/ArithmeticAnalysis/NewtonRaphsonMethod.py +++ b/ArithmeticAnalysis/NewtonRaphsonMethod.py @@ -1,4 +1,4 @@ -# Implementing Newton Raphson method in python +# Implementing Newton Raphson method in Python # Author: Haseeb from sympy import diff @@ -20,8 +20,8 @@ def NewtonRaphson(func, a): # Let's Execute if __name__ == '__main__': - # Find root of trignometric fucntion - # Find value of pi + # Find root of trigonometric function + # Find value of pi print ('sin(x) = 0', NewtonRaphson('sin(x)', 2)) # Find root of polynomial @@ -30,7 +30,7 @@ if __name__ == '__main__': # Find Square Root of 5 print ('x**2 - 5 = 0', NewtonRaphson('x**2 - 5', 0.1)) - # Exponential Roots + # Exponential Roots print ('exp(x) - 1 = 0', NewtonRaphson('exp(x) - 1', 0))