Hi,
I've been working on a program using ODE's and I've been using ODE45 to get numerical solutions for differential equations. I've been getting incorrect results e.g. when I used
y'' = -y, I get a period that is ~ 2.8 instead of pi. This also happened with various other functions that I've been using.
Is there a solution to this problem?
Thanks!
I've been working on a program using ODE's and I've been using ODE45 to get numerical solutions for differential equations. I've been getting incorrect results e.g. when I used
y'' = -y, I get a period that is ~ 2.8 instead of pi. This also happened with various other functions that I've been using.
Is there a solution to this problem?
Thanks!