MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / f_derivative

Function f_derivative

maths/numerical_analysis/newton_raphson.py:82–83  ·  view source on GitHub ↗
(x: float)

Source from the content-addressed store, hash-verified

80 """
81
82 def f_derivative(x: float) -> float:
83 return calc_derivative(f, x, step)
84
85 a = x0 # Set initial guess
86 steps = []

Callers 1

newton_raphsonFunction · 0.85

Calls 1

calc_derivativeFunction · 0.85

Tested by

no test coverage detected