Hello,

On Feb 23, 5:25 am, Ronan Lamy <[email protected]> wrote:
> The conventional definition of the order of the expansion is that it's
> the degree of the last term included in the polynomial approximation, so
> one less than the order of the excluded terms. Your example is a
> second-order expansion, because it gives a second-order approximation.

I agree up to a small detail: consider for example f(x)=cos(x). The
Taylor expansion of order 2 is usually written as
cos(x) = 1 - 0.5 x^2 + O(x^4)
Note the order term of the remainder term - is O(x^4) rather than
O(x^3) as all uneven powers in the (Taylor) expansion of cos(x) are 0.
Mathematica doesn't do this, however I want to suggest this behaviour
for SymPy.

Cheers

Alex

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to