Thursday, September 17, 2015

Short cut cubing of any two digit number just in few seconds with help of Horner`s method for polynomial evaluation


We can utilize following algebraic expansion of Horner`s method for polynomial evaluation to easily find cube of any two digit number
(z + d) 3 = z x [z x (z + 3d) + 3d2] + d3
Where, d will always be one of the numbers (+/-)1, (+/-)2, (+/-)3, (+/-)4, (+/-)5.
So, 3d2 will always be one of the numbers 3, 12, 27, 48, or 75.
For example,
To find cube of the number 23,
Let, z = 20 and d = 3
So,
(z + d) 3 = z x [z x (z + 3d) + 3d2] + d3
(20 + 3)3 = 20 x [20 x (20 + 3(3)) + 3(3)2] + (3)3
(23)3 = 20 x [20 x (20 + 9) + 27] + (3)3
= 20 x [20 x 29 + 27] + (3)3
= 20 x [580 + 27] + (3)3
= 20 x 607 + (3)3
= 12140 + 27
= 12167
Another example,
To find cube of the number 88,
Let, z = 90 and d = (-2)
So,
(z + d) 3 = z x [z x (z + 3d) + 3d2] + d3
(90 + (-2)) 3 = 90 x [90 x (90 + 3(-2)) + 3(-2)2] + (-2)3
(88)3 = 90 x [90 x (90 + (-6)) + 12] + (-2)3
= 90 x [90 x 84 + 12] + (-2)3
= 90 x [7560 + 12] + (-2)3
= 90 x 7572 + (-2)3
= 681480 + (-8)
= 681472

No comments:

Post a Comment