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
-
13:51
True Crime | Unsolved Cases | Mysterious Stories
4 days ago $0.15 earned7 Real Life Heroes Caught on Camera (Remastered Audio)
5K -
LIVE
Total Horse Channel
10 hours ago2025 IRCHA Derby & Horse Show - November 1st
25 watching -
4:19
PistonPop-TV
6 days agoThe 4E-FTE: Toyota’s Smallest Turbo Monster
3.08K -
43:07
WanderingWithWine
5 days ago $0.04 earned5 Dreamy Italian Houses You Can Own Now! Homes for Sale in Italy
3.68K2 -
LIVE
Spartan
19 hours agoFirst playthrough of First Berserker Khazan
286 watching -
28:01
Living Your Wellness Life
2 days agoTrain Your Hormones
6.54K -
43:28
The Heidi St. John Podcast
1 day agoFan Mail Friday: Faith Over Fear and Finding Strength in Every Season
3.46K -
1:05:30
SGT Report
1 day agoTHE HORRIBLE TRUTH ABOUT EVERYTHING -- Harley Schlanger
45.2K85 -
11:04
Blackstone Griddles
15 hours agoCountry Fried Steaks on the Blackstone Griddle
90.2K13 -
49:47
Brad Owen Poker
23 hours agoI Get My First BIIGGG Win! $25,000+ Buy-in! HORSE Championship! Don’t Miss! Poker Vlog Ep 324
15K1