Paste number 34366: strange effect of dummy variables?

Index of paste annotations: 1

Paste number 34366: strange effect of dummy variables?
Pasted by: amitar
When:2 years, 5 months ago
Share:Tweet this! | http://paste.lisp.org/+QIM
Channel:#maxima
Paste contents:
Raw Source | XML | Display As
Maxima 5.10.0 http://maxima.sourceforge.net
Using Lisp GNU Common Lisp (GCL) GCL 2.6.7 (aka GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.
(%i1) f(x):=sum(x^n/n!,n,0,inf);
				       n
				      x
(%o1) 			  f(x) := sum(--, n, 0, inf)
				      n!
(%i2) f(2*y);
				  inf
				  ====	 n  n
				  \     2  y
(%o2) 				   >    -----
				  /	 n!
				  ====
				  n = 0
(%i3) /* so far so good - but look here: */
f(2*x);
				  inf
				  ====	 n  n
				  \     4  x
(%o3) 				   >    -----
				  /	 n!
				  ====
				  n = 0

Annotations for this paste:

Annotation number 1: reformatting (untabify)
Pasted by: amitar
When:2 years, 5 months ago
Share:Tweet this! | http://paste.lisp.org/+QIM#1
Paste contents:
Raw Source | Display As
(%i1) f(x):=sum(x^n/n!,n,0,inf);
                                       n
                                      x
(%o1)                     f(x) := sum(--, n, 0, inf)
                                      n!
(%i2) f(2*y);
                                  inf
                                  ====   n  n
                                  \     2  y
(%o2)                              >    -----
                                  /      n!
                                  ====
                                  n = 0
(%i3) /* so far so good - but look here: */
       f(2*x);
                                  inf
                                  ====   n  n
                                  \     4  x
(%o3)                              >    -----
                                  /      n!
                                  ====
                                  n = 0
(%i4) /* ??????? */

Colorize as:
Show Line Numbers
Index of paste annotations: 1

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.