代码大全

(singke) #1

ax^2 + bx + c


a b c x N
Value=Coefficient(0)
for power=l to order
Value=(Value+Cofficient(power))*x^power
next power


Value=Coefficient(0)
PowerOfx=x
for Power=1 to Order
Value=Value+Coefficient(Power)PowerOfx
PowerOfx=PowerOfx
x
next power


Basic 25.43 3.24 87% 8:1
Ada 28.72 11.42 60% 3:1

Val u e = 0
for Power=Order to l step -1
Value=Value+Coefficient(power)*x
next power
Value=Value+Cofficient(0)

Free download pdf