Home / Methods / Numerics / Newton-Raphson
Newton-Raphson
When an equation has no closed-form solution: solving for a rate, finding a break-even point in a complex model, inverting any relationship.
What you need
- expression in x that should equal zero
- starting guess (default 1)
- precision (default 0)
What it calculates
- the root found for the equation — the value of x
- how many steps it took to find it
- how far the function's value is from zero at this point
- whether a root was actually found (1 = yes, 0 = no)
Careful
May fail to converge or land on the wrong root — it all depends on the starting guess. If the derivative is near zero, the method can fly off far from where you started.