Integrating a Taylor series?



You're right. This case isn't so bad.
See attachments

BTW: I wasn't saying what I was doing took a lot of time or memory.
-- 
Dennis J. Darland
student at dennisdarland.com
http://dennisdarland.com/
http://dennisdarland.com/philosophy/
http://sode.sourceforge.net/

On Saturday, May 11, 2013 03:12:39 PM you wrote:


Dennis,


Why did you think this should take a long time and lots of memory?


                  -s


On Thu, May 9, 2013 at 5:39 PM, Dennis J. Darland <student at dennisdarland.com[1]> 
wrote:


Dennis J. Darland
student at dennisdarland.com
http://dennisdarland.com/
http://dennisdarland.com/philosophy/
http://sode.sourceforge.net/
It might take a very long time, if you have enough memory!

--



amca01 at gmail.com[2]>writes:>     Alasdair> No, unfortunately - my system (Maxima 
5.24.0) just hangs>     Alasdair> on the "integrate" command and does nothing.>> 
Bummer.  I guess the obvious answer is to update your system to> something newer.  If 
you can.>> Ray>> _______________________________________________> Maxima mailing list> 
Maxima at math.utexas.edu[3]
http://www.math.utexas.edu/mailman/listinfo/maxima[4]
Maxima at math.utexas.edu[3]
http://www.math.utexas.edu/mailman/listinfo/maxima[4]






--------
[1] mailto:student at dennisdarland.com
[2] mailto:amca01 at gmail.com
[3] mailto:Maxima at math.utexas.edu
[4] http://www.math.utexas.edu/mailman/listinfo/maxima
-------------- next part --------------
A non-text attachment was scrubbed...
Name: djd_taylor.sh
Type: application/x-shellscript
Size: 37 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20130512/c448befc/attachment.bin>;
-------------- next part --------------
load("stringproc");
block([fd,t_prev,t_prev,nn,x,a],
fd : openw("timelog.txt"),
t_prev :  elapsed_real_time(),
nn : 1,
while (nn < 31) do  (
integrate(taylor(exp(x),x,a,nn),x),
t : elapsed_real_time(),
t_new : t - t_prev,
printf(fd,"order = ~d time = ~g~%",nn,t_new),
t_prev : t,
nn : nn + 1),
close(fd)
);

-------------- next part --------------
order = 1 time = 2.1760000000000113000E-3
order = 2 time = 4.15299999999999000E-3
order = 3 time = 6.890000000000007000E-3
order = 4 time = 1.000999999999999100E-2
order = 5 time = 1.267200000000001700E-2
order = 6 time = 1.350299999999998700E-2
order = 7 time = 1.453899999999999600E-2
order = 8 time = 1.568700000000003400E-2
order = 9 time = 1.676499999999997400E-2
order = 10 time = 1.782200000000000500E-2
order = 11 time = 1.90279999999999900E-2
order = 12 time = 2.00279999999999900E-2
order = 13 time = 2.11490000000000300E-2
order = 14 time = 2.220800000000000600E-2
order = 15 time = 2.326699999999998200E-2
order = 16 time = 2.445599999999997800E-2
order = 17 time = 3.629700000000002400E-2
order = 18 time = 2.665699999999998600E-2
order = 19 time = 2.765200000000006500E-2
order = 20 time = 2.878699999999989600E-2
order = 21 time = 2.99310000000000400E-2
order = 22 time = 3.108400E-2
order = 23 time = 3.19660000000000500E-2
order = 24 time = 3.322199999999997400E-2
order = 25 time = 3.43590000000000300E-2
order = 26 time = 4.52559999999999630E-2
order = 27 time = 3.68380000000000400E-2
order = 28 time = 3.76099999999999200E-2
order = 29 time = 3.87930000000000800E-2
order = 30 time = 3.97909999999999100E-2