Nepedia
Back to Discover
Independent Reader
🔢

Secant method

math Maturity 5-7 Next article →

Sometimes we need to find a secret spot on a curve. This spot is called a root. A root is where a line hits a zero point.

Secant method
Secant method

We can find it using the secant method. This is a set of steps to find a root.

First, we pick two starting points on a curve. We draw a straight line through those two points. This is called a secant line. We look at where that line hits the zero mark. That spot is our new guess.

Secant method example code result
Secant method example code result

Next, we use our new guess to find a third point. We draw a new line through our last two points. We repeat this many times. Each new line gets us closer to the real root.

This method is a bit like Newton's method. Newton's method is another way to find roots. Newton's method is often faster. But it needs more work at every step. The secant method only needs to find one new point at a time. This can make it faster in real life. We must pick starting points close to the root. If the curve is too wiggly, the method might not work.

194 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (2)
File:Secant method.svg
Secant method.svg
File:Secant method example code result.svg
Secant method example code result.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.