Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hi,
Why is so?
@Cornel wrote:
Hi,
Why is so?
I can think of three possible causes, although it could also be a combination of several of these (or something else entirely):
1) The numerical algorithm used by Prime might not be absolutely perfect (shocking, right?)
2) The obviously artificially constructed equation you provide may be the reason (or is there actually a concrete application where this equation occurs?) Some small changes in the equation here and there make the solve block work OK:
3) The initial condition you have chosen may be inappropriate for some reason. Small changes make your solve block work OK
You may try y(0)=1/e (will fail) and values very slightly smaller or larger.
Make your choice... 🙂
Have you already tried to solve the ODE yourself - either symbolically (guess not possible) or numerically using some kind of Runge-Kutta (tedious)?
Have you tried to solve your ODE using some other software?
Did you already report the problem to PTC support?
Do you really need to solve that ODE?
BTW, just for your information in case you intend to report it: In Prime 10 the error message is "Unknown error: vanishing step size".
If I start P10 in German mode, I get "Unbekannter Fehler: Ein Aufrufziel hat einen Ausnahmefehler verursacht" which is something like "Unknown error: A call target caused an exception". Not very helpful.
Symbolic:
numeric, odesolve:
But:
Success!
Luc
For the initial value y(0) = 1, this differential equation only has a solution in the interval [0,1). In x = 1 there is an asymptote (illustrated in the attached file MC14).