|
Posted by Wouter on February 2, 2006, 4:20 pm
Please log in for more thread options Your table:
f(x)
x 2*x^2 + 3*x + 5 First Difference Second Difference
1 10 9 4
2 19 13 4
3 32 17 4
4 49 21
5 70
Why don't you look @ it this way:
f(x) = a*x^2 + b*x + c
First Differance: a*(2x-1) + b
Second Differance: a*2
Always...
:)
Wouter
<Andy Carol> wrote in message
>
>> A truly stunning achievement! Charles & Ada would be proud of you. Not
>> wishing to get you to start rebuilding or anything but what does it do if
>> b^2 <4ac?
>
> It doesn't solve for roots, it evaluates for x = 1, 2, 3, etc. It would
> be used to build a table of results for a polynomial.
>
> The most common one I run for testing is x^2. It outputs: 1, 4, 9, 16,
> 25, 36, 49, 64, etc.
>
> I am considering expanding it to 4 digits and adding another set of adders
> so it can evaluate cubic polynomials.
>
> ---- Andy
>
>
|
> Not wishing to get you to start rebuilding or anything but what does it
> do if b^2 <4ac?