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
-
9:59
Clownfish TV
14 hours agoWarner Bros and Paramount are MERGING?! | Clownfish TV
14K2 -
19:19
World2Briggs
1 day ago $1.11 earnedTop 10 Amazing States With The Lowest Taxes.
12K1 -
LIVE
BEK TV
23 hours agoTrent Loos in the Morning - 9/16/2025
284 watching -
LIVE
The Bubba Army
22 hours agoDid Charlie Kirk's Killer, Confess On Discord? - Bubba the Love Sponge® Show | 9/16/25
2,243 watching -
8:41
Zoufry
1 day agoInside The Cartels Training Camps for Assassins
16.2K2 -
12:37
itsSeanDaniel
1 day agoFake Republican REFUSES to Stand Up for Charlie Kirk
21.1K37 -
1:01:55
MTNTOUGH Podcast w/ Dustin Diefenderfer
22 hours agoJason Khalipa: American Men: Get Off the Couch and Rise Up Now | MTNPOD #133
32.2K45 -
5:17
Blackstone Griddles
13 hours agoEasy Weeknight Meals: Creamy Parmesan Beef Pasta
20.2K6 -
7:08
Rena Malik, M.D.
23 hours ago $1.45 earnedFour totally surprising causes of Back Pain
16.2K1 -
6:27
DropItLikeItsScott
15 hours ago $1.17 earnedIs This the Coolest Gun Accessory Ever? The Gun Guardian
16.4K