MCPcopy Index your code
hub / github.com/TheAlgorithms/Python / f

Function f

maths/numerical_analysis/bisection.py:46–47  ·  view source on GitHub ↗
(x: float)

Source from the content-addressed store, hash-verified

44
45
46def f(x: float) -> float:
47 return x**3 - 2 * x - 5
48
49
50if __name__ == "__main__":

Callers 3

runge_kuttaFunction · 0.70
calc_derivativeFunction · 0.70
newton_raphsonFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected