HORNER rule to calculate value of a polynomial
HI to all .may be you all are asked to calculate the value of a polynomial at a given x.for eg let y=f(x)=1+2*x + 3*x*x .Just stay aside your regular technique to do this and try to understand this.May be you will find this useful.Search google for better defination of horner rule
This is another way to calculate the value at a given x.This solution is called HORNER's rule.no limit on the degree of polynomial a0 + x0 *(a1 +x0*(a2+x0*(a3+x0*a4))) as you can see it is a recursive function. Code: cpp

All times are GMT +5.5. The time now is 18:44. 