home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math.symbolic
- Path: sparky!uunet!darwin.sura.net!wupost!gumby!destroyer!ubc-cs!news.UVic.CA!sol.UVic.CA!dharr
- From: dharr@sol.UVic.CA (D.A. Harrington)
- Subject: Using expand on Taylor series in Maple
- Message-ID: <1992Jul28.213500.7497@sol.UVic.CA>
- Keywords: Maple, expand
- Sender: dharr@sol.uvic.ca
- Nntp-Posting-Host: sol.uvic.ca
- Organization: University of Victoria, Victoria, B.C. CANADA
- Date: Tue, 28 Jul 92 21:35:00 GMT
- Lines: 50
-
- I seem to be unable to get "expand" to work on the substituted taylor
- series below, although simpler examples appear to work
- Suggestions much appreciated - please reply to the newsgroup or
- email to dharr@uvvm.uvic.ca
- Maple is running under CMS on an IBM 3090
-
- |\^/| Licensed for use at: University of Victoria
- ._|\| |/|_. WATCOM Products, Inc.
- \ MAPLE / Version 4.2
- <____ ____> For on-line help, type help();
- |
- >
- t:=taylor(exp(x),x,3);
- 2 3
- t := 1 + x + 1/2 x + O(x )
-
- >
- subs(x=a+b,t);
- 2 3
- 1 + a + b + 1/2 (a + b) + O((a + b) )
-
- >
- expand(");
- 2 3
- 1 + a + b + 1/2 (a + b) + O((a + b) )
-
- >
- #why didn't it expand? this works:
- #why didn't it expand? this works:
- >
- s:=y^2 + O(y^3);
- 2 3
- s := y + O(y )
-
- >
- subs(y=c+d,s);
- 2 3
- (c + d) + O((c + d) )
-
- >
- expand(");
- 2 2 3
- c + 2 c d + d + O((c + d) )
-
- >
- #so is there something special about Taylor series?
- #so is there something special about Taylor series?
- >
- quit;
- words used=12949, alloc=11176, time=.122
-