You are not logged in.
rk4
Last edited by @PoisonSimon (2015-10-14 22:48:54)
Offline
Hi;
The exact solution is
When I use RK4 with a step size of .2
The error is quite small. Can you figure the percentage error for yourself?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
I will do the error myself. Thanks alot. The RK4 was slightly easy.. The hard part is getting the analytical solution.. Thanks alot, appreciated
Offline
did you use Matlab for this problem? if yes, what code did you enter?
Offline
I have used Matlab but did not like it. I code in Mathematica.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline