Polynomial evaluation
Compute the value of a polynomial of degree n with coeffcients in vector a, at value x.
p(x)=a(1)+a(2)x+a(3)x^2+...+a(n+1)x...
oltre 7 anni fa
Risolto
Simple polynomial evaluation
Compute the value of a polynomial of degree n with all coefficients '1', at value x. n is always n>=0.
p(x)=1+x+x^2+...+x^n...