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
-
1:01:49
BonginoReport
4 hours agoErika Kirk Forgives Charlie’s Assassin - Nightly Scroll w/ Hayley Caronia (Ep.139)
47K54 -
LIVE
megimu32
1 hour agoOn The Subject: Rush Hour | Would It Be Cancelled Today?
66 watching -
LIVE
The Jimmy Dore Show
3 hours agoOfficial Narrative On Charlie Kirk Shooting FALLING APART! Jimmy Kimmel Coming Back! w/ Kim Bright
7,067 watching -
1:24:12
Katie Miller Pod
3 hours ago $0.72 earnedEpisode 7 - Jillian Michaels | The Katie Miller Podcast
35.1K3 -
LIVE
LFA TV
1 day agoLFA TV ALL DAY STREAM ! | MONDAY 9/22/25
705 watching -
1:02:10
LIVE WITH CHRIS'WORLD
3 hours agoLIVE WITH CHRIS'WORLD - Key Takeaways From Charlie Kirks Memorial
6.23K -
1:37:17
Liberty Sentinel
6 days agoURGENT: Dr. Malone Warns of "Vaccine Cult" & Effort to "Fix God Gene" With Shots
6.13K7 -
LIVE
Rallied
4 hours ago $0.45 earnedHigh Octane Warzone Wins All Night
84 watching -
8:35
Adam Does Movies
10 hours agoHIM - Movie Review
15.7K3 -
21:43
Jasmin Laine
5 hours ago“The Situation Is DETERIORATING”—CTV PANICS as Poilievre HUMILIATES Carney LIVE
16.4K9