Runge-Kutta on Elliptical Orbits

Click For Summary
SUMMARY

The forum discussion focuses on applying the Runge-Kutta method to numerical analysis of elliptical orbits, specifically using the equations derived from the Euler-Lagrange method. The equations of motion are defined as d²x/dt² = -K x (x² + y²)⁻³/² and d²y/dt² = -K y (x² + y²)⁻³/². To implement the Runge-Kutta method, it is essential to convert these second-order differential equations into a system of coupled first-order equations by introducing new variables for the first derivatives of x and y.

PREREQUISITES
  • Understanding of the Runge-Kutta numerical method
  • Familiarity with second-order differential equations
  • Knowledge of the Euler-Lagrange method
  • Basic proficiency in numerical analysis techniques
NEXT STEPS
  • Learn how to convert second-order differential equations to first-order systems
  • Study the implementation of the Runge-Kutta method in Python or MATLAB
  • Explore numerical stability and error analysis in Runge-Kutta methods
  • Investigate applications of the Runge-Kutta method in orbital mechanics
USEFUL FOR

Students and researchers in physics and engineering, particularly those focusing on orbital mechanics and numerical methods for solving differential equations.

DrDress
Messages
3
Reaction score
0

Homework Statement


Run a numerical analysis on elliptical orbits using the standard Runka-Kutta method. I already have the equations from Euler-Lagrange method in cartesian x,y-coordinates.

d2x/dt2 = -K x (x2 + y2 )-3/2
d2y/dt2 = -K y (x2 + y2 )-3/2

Homework Equations


I find it a little to get started. Most examples online are first order differential equations and/or single variable. So I'm not sure how to define my f(x,y,t) funktion. It's supposed to be the velocity dx/dt, right? But I "only" have the acceleration, so do I just multiply dt to get the velocity or what?

The Attempt at a Solution

 
Physics news on Phys.org
Do a web search on "2D Runge-Kutta"
 
You need to convert your system of second order equations into a system of coupled first order equations. That means introducing two new dependent variables, representing the first derivatives of x and y.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 65 ·
3
Replies
65
Views
9K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
5K