Matching Curves with Taylor Series
Graphs the polynomial approximations to curves using the Taylor Series (using the Flot plotting library).
- func is the function we're matching. The code is only designed to do a few functions at the moment, and they all have to be ones that repeat as you differentiate them (like sin).
- c is the x value about which to do the series expansion.
- n is the number of terms in the expansion. More terms equals better fit.
To get the above graph embed: