maths.numerical_analysis.secant_method

Implementing Secant method in Python Author: dimgrichr

Functions

f(→ float)

secant_method(→ float)

Module Contents

maths.numerical_analysis.secant_method.f(x: float) float
>>> f(5)
39.98652410600183
maths.numerical_analysis.secant_method.secant_method(lower_bound: float, upper_bound: float, repeats: int) float
>>> secant_method(1, 3, 2)
0.2139409276214589