Skip to content

Commit fe26a2b

Browse files
authored
Update newton_raphson_method.py
1 parent 788626d commit fe26a2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arithmetic_analysis/newton_raphson_method.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from sympy import diff
99

1010

11-
def NewtonRaphson(func: str, a: int, precision=int: 10 ** -10) -> float:
11+
def NewtonRaphson(func: str, a: int, precision=10 ** -10) -> float:
1212
""" Finds root from the point 'a' onwards by Newton-Raphson method
1313
>>> NewtonRaphson("sin(x)", 2))
1414
3.141592653680804119362982272

0 commit comments

Comments
 (0)