- #1
Kaguro
- 221
- 57
- Homework Statement
- Given y''=y
Let
v=y'
v'=y
And solve it with Euler method,
I get only the exp(x) solution. But how can I get the exp(-x) solution?
- Relevant Equations
- None
Actually I was trying to write a small program in Scilab to simulate a quantum particle. When I give a potential higher than energy, the wave function should go like exp(-x) and decay. But my program just increases without bound.
Is there any nice way to do anything about it?
Is there any nice way to do anything about it?