Hi, I don't know if this is the right forum to adress, but I will try nevertheless
Im solving a simple two-dimensional differential equation:
dx/dt = (-y,x)
which will give a circle when integrating over time.
Now, the problem is that the simple euler scheme seems to be a lot more...
I've been trying to do some simulations using the Euler, improved Euler, and Runge-Kutta methods. My results for the improved Euler and Runge-Kutta are very close to my results with the plain old Euler method. If there is any improvement, it is negligible. This lack of improvement surprises...
Hi,
Could someone please show me how to solve the following simple problem using the Runge-Kutta (RK4) integration method?
A car at t=0 has acceleration 10m/s/s, velocity 0m/s.
How far would the car travel in 10 seconds?
I know this can be solved using the equations of motion (giving...
We have a pendullum in a car, that is being pulled with:
a) constant F force
b) connectec to a spring, with force F = -kx
The physics part is done, and we have 2 differential equations (non-lineer), and we're supposed to write a C program to calculate theta(t) and x(t) from them. We should...
Hi guys.
I was wondering if anyone could help me with this code. I have sucessfully created a program in visual basic that can run a runge-kutta method. However I want to create one in c++, maybe eventually turn it into a .dll when i work out how to create and use them. :smile:
Here is...