Skip to main content

5 replies

1-Visitor
Aug 27, 2010 5:46 AM UTC

Thanks Jean! Very interesting work sheet. It works very quickly and much more precisely.

Mathcad 11

Obsolete way

calc_time=52.9 s, ERR^2=1.97e-06 (odesolve/fixed, 5000 steps)

calc_time=118.1 s, ERR^2=1.97e-06 (odesolve/adaptive, 5000 steps)

calc_time=0.2 s, ERR^2=1.64e-06 (odesolve/stiff, 5000 steps)

Your way

calc_time=0.9 s, ERR^2=7.35e-07 (odesolve/fixed, 10000 steps)

calc_time=2.1 s, ERR^2=7.35e-07 (odesolve/adaptive, 10000 steps)

calc_time=0.1 s, ERR^2=1.20e-06 (odesolve/stiff, 10000 steps)

It is a pity that this file does not work in 14 versions.


Viktor

Translate
19-Tanzanite
Aug 27, 2010 8:27 AM UTC

Nice neat method jean!

It is trivially modified to work in M14/15 - see attached. Still about twice as fast in M11 though!

Alan

Translate
1-Visitor
Aug 27, 2010 10:23 AM UTC

We rejoiced prematurely. Jean's and Alan's worksheets do not work. Try to change initial guesses and look result!

Viktor

Translate