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
-
8:34
Blackstone Griddles
13 hours agoAnnual Holiday Gift Guide | Blackstone Griddles
13K -
48:10
State of the Second Podcast
20 hours agoThe Quietest Suppressor Ever? PTR’s PIP Tech Explained (ft. PTR)
2.96K -
23:10
Demons Row
12 hours agoBiker Secrets They Never Say Out Loud (Real MC Rules Exposed)
4.53K3 -
LIVE
BEK TV
23 hours agoTrent Loos in the Morning - 12/18/2025
193 watching -
15:25
unclemattscookerylessons
1 day ago $1.69 earned“Crispy Cheesy Potato Croquettes | Gooey Mozzarella Inside!”
4.32K4 -
6:39
DropItLikeItsScott
20 hours ago $2.36 earnedDid BURRIS Just Create the Coolest 3-12x42 Scope?
3.35K -
10:55
Paul Joseph Watson
1 day agoWhat Really Happened at Bondi Beach?
70.2K110 -
2:00:58
MG Show
20 hours agoFBI’s CRIMINAL RAID on Mar-a-Lago Confirmed; Rob Reiner BEHIND Russia Collusion?
25.5K14 -
1:00:18
Dialogue works
2 days ago $12.92 earnedLarry C. Johnson: Russia Launches Largest Missile & Drone Attack Yet
27K7 -
12:02
Actual Justice Warrior
1 day agoChicago Mayor Says ONLY Black Businesses Get Licensed
23.6K30