Question: Using a variable as the error specification of a rkf45 dsolve routine.

Hello there,

I'm trying to write something like: dsolve=(myOde,numeric,method=rkf45,abserr=1e-7,relerr=1e( -(7+x) ) ),

where x is a variable that updates every loop of my for loop (say for example x = 2). I'm basically trying to improve my accuracy each iteration of the loop.

Anyways, Maple doesn't like how there is a variable in the expression for relerr - it returns the command just as I typed it, not, for example, as

dsolve=(myOde,numeric,method=rkf45,abserr=1e-7,relerr=1e( -(9) ) ).

How can I achieve my goal?

Thanks!

Please Wait...