MCPcopy Create free account
hub / github.com/TheAlgorithms/C / secant_method

Function secant_method

numerical_methods/secant_method.c:36–55  ·  view source on GitHub ↗

* @brief Root-finding method for a continuous function given two points * @param x0 One of the starting secant points * @param x1 One of the starting secant points * @param tolerance Determines how accurate the returned value is. The returned * value will be within `tolerance` of the actual root * @returns `root of the function` if secant method succeed within the * maximum number of iterati

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testFunction · 0.85

Calls 1

funcFunction · 0.70

Tested by

no test coverage detected