Horner's Method for Converting an Integer from Base b to Base 10
Horner's Method for Converting an Integer from Base b to Base 10
Horner's method for expressing a polynomial reduces the number of multiplications and results in greater numerical stability by potentially avoiding the subtraction of large numbers. It is based on successive factorization to eliminate powers of greater than 1.
x
Suppose ; then the method gives .
P(x)=++…+
a
n
n
x
a
n-
1
n-1
x
a
0
P(x)=((x+)x+…)x+
a
n
a
n-1
a
0
As an application of Horner's method, if … is an integer in base , then is the corresponding integer in base 10.
a
n
a
n-1
a
0
b
b
P(b)
External Links
External Links
Permanent Citation
Permanent Citation
Izidor Hafner
"Horner's Method for Converting an Integer from Base b to Base 10"
http://demonstrations.wolfram.com/HornersMethodForConvertingAnIntegerFromBaseBToBase10/
Wolfram Demonstrations Project
Published: January 24, 2019