2

The option MaxStepSize permits to manually set the step size of the integration in NDSolve and similar functions.

How do I set its value in the case there are two variables with wildly different ranges?

xzczd
  • 65,995
  • 9
  • 163
  • 468
mattiav27
  • 6,677
  • 3
  • 28
  • 64

1 Answers1

5

Try option , MaxStepSize -> {.1, .01}

Ulrich Neumann
  • 53,729
  • 2
  • 23
  • 55
  • 2
    Several examples making use of this syntax: https://mathematica.stackexchange.com/a/229184/1871 https://mathematica.stackexchange.com/a/189770/1871 https://mathematica.stackexchange.com/a/218835/1871 – xzczd Mar 07 '21 at 03:11