HORNER'S ALGORITHM ;
2016-08-23
0 0 0
no vote
Other
Earn points
Numerical calculations Algorithms: HORNER'S ALGORITHM in Math written by Pascal
To evaluate the polynomial
p(x) = a(n) * x ^ n + a(n-1) * x ^ (n-1) + ... + a(1) * x + a(0)and its derivative p'(x) at x = x0;
INPUT: degree n; coefficients aa(0),aa(1),...,aa(n);
value of x0.
OUTPUT: y = p(x0), z = p'(x0).
pascal
算法
霍纳氏
Related Source Codes
Classic Interview Questions for Digital City Front
0
0
no vote
HDU-2553 N Queen Question
0
0
no vote
Artificial fish school algorithm
0
0
no vote
Myxomycetes algorithm python
0
0
no vote
Simple graph by free pascal
0
0
no vote
No comment