Premium Only Content
Horner's method: application exercise
Horner's method is an algorithm for evaluating polynomials and finding approximate roots. It is named after the British mathematician William George Horner.
Polynomial evaluation
1. *Write the polynomial*: p(x) = a_n x^n + a_{n-1} x^{n-1} +... + a_1 x + a_0
2. *Enter the value of x*: x = c
3. *Calculate the result*: p(c) = a_n c^n + a_{n-1} c^{n-1} +... + a_1 c + a_0
Horner's algorithm
1. Initialize the result: r = a_n
2. *For i = n-1 up to 0*: r = r * c + a_i
3. *Returns r*: p(c) = r
Example
Evaluate p(x) = 3x^2 + 2x - 1 at x = 2.
Steps
1. *Initializes r = 3*
2. r = r * 2 + 2 = 3 * 2 + 2 = 8
3. r = r * 2 - 1 = 8 * 2 - 1 = 15
Result
p(2) = 15
Advantages
1. Efficient to evaluate polynomials.
2. Easy to implement.
Disadvantages
1. Only evaluate polynomials.
Applications
1. Numerical calculation.
2. Numerical analysis.
3. Engineering.
4. Sciences.
Software
1. MATLAB
2. Python (NumPy library)
3. Mathematica
4. Wolfram Alpha
-
19:13
Neil McCoy-Ward
2 hours agoJapan Just Lit The Fuse (Get Ready...)
3.5K1 -
1:03:37
Timcast
4 hours agoRepublicans Call For Mass EXPULSION Of Muslims, Travel BAN
159K113 -
1:14:15
Sean Unpaved
3 hours agoAaron Rodgers & Steelers BOUNCE BACK In WIN vs. Dolphins! | UNPAVED
19.3K4 -
LIVE
Badlands Media
12 hours agoGeopolitics with Ghost Ep. 65 - December 16, 2025
1,413 watching -
1:49:22
Steven Crowder
6 hours agoCandace & Erika: What The Meeting Really Says About Conservative Media
464K356 -
16:28
Adam Does Movies
3 hours ago $0.26 earnedIT: Welcome To Derry Episode 8 Recap - What A Finale!
20.5K -
LIVE
LFA TV
17 hours agoLIVE & BREAKING NEWS! | TUESDAY 12/16/25
1,717 watching -
1:01:57
VINCE
6 hours agoThis Could Win Us The Midterms | Episode 189 - 12/16/25 VINCE
262K211 -
1:47:47
The Mel K Show
4 hours agoMORNINGS WITH MEL K- The End of Zero Sum Game Theory Thinking Has Arrived - 12-16-25
34.3K6 -
1:30:14
The Shannon Joy Show
4 hours agoSJ LIVE Dec 16 - Susie Wiles Spills The Tea * TACO Trump Flees California After Judge Orders Him To Remove Troops! Plus The Bitcoin Collapse & AI Bubble W/ Fin-Analyst Jack Gamble!
31.5K7