[9933] in Athena Bugs

home help back first fref pref prev next nref lref last post

decmips 7.4G: maple

daemon@ATHENA.MIT.EDU (Calvin Clark)
Sun Sep 27 06:34:21 1992

Date: Sun, 27 Sep 92 06:34:04 -0400
From: Calvin Clark <ckclark@mit.edu>
To: bugs@Athena.MIT.EDU
Cc: bug-maple@Athena.MIT.EDU
Reply-To: ckclark@mit.edu

System name:		w20-575-62
Type and version:	KN02ca 7.4G
Display type:		PMAG-DV 

What were you trying to do?

	Play with series expansions.

What's wrong:

Observe:

> series(tan(x), x, 10);
                         3         5    17  7    62   9      10
                x + 1/3 x  + 2/15 x  + --- x  + ---- x  + O(x  )
                                       315      2835


This is fine.  However, if, instead of tan(x), I use the following
expression, equivalent by trigonometric identity, I don't get the
coefficient of the x^9 term:


> series((1-cos(2*x))/sin(2*x), x, 10);
                              3         5    17  7      9
                     x + 1/3 x  + 2/15 x  + --- x  + O(x )
                                            315


(I might note that plotting the difference between these two functions
results in a rather daliesque rendition of zero, but I can't blame maple
for that. :-)

What should have happened:

	The two results should be identical.  (Sorry, I can't find a
simpler example of this particular lossage.)

Please describe any relevant documentation references:

	?series


home help back first fref pref prev next nref lref last post