Runge-kutta Definition and 56 Threads

  1. M

    Runge-Kutta vs Euler: Solving Two-Dimensional Differential Equation

    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...
  2. F

    C/C++ Does Anyone Have a C++ or Fortran90 Code for 4th Order Runge-Kutta Method?

    please i'll like to ask if someone have a code written in c++ or in foltran90 on 4th order runge-kutta method of numerical computation. thanks
  3. D

    Results same w/ Euler, Improved Euler, & Runge-Kutta

    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...
  4. S

    How to Apply Runge-Kutta to Solve a Simple Motion Problem

    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...
  5. G

    Classical mechanics & runge-kutta

    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...
  6. P

    C/C++ How Can I Fix My C++ Runge-Kutta Method to Correctly Update Y Values?

    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...
Back
Top