A root-finding algorithm is a numerical algorithm that finds a value x such that f (x) = 0 for a given function f. This procedure is also called finding zeros. As a result, you can get no solution, one solution, or multiple solutions. NM Dev provides a few methods to find such roots. They is the Jenkins-Traub algorithm, the bisection method, Brent’s method, the Newton-Raphson method, and Halley’s method. With the exception of polynomials, you have the Jenkins-Traub algorithm, which calculates all the roots ...
3. Finding Roots of Equations
Get Numerical Methods Using Kotlin: For Data Science, Analysis, and Engineering now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.