Orbit of satellite 2nd order ODE using Matlab

Click For Summary
SUMMARY

The discussion focuses on solving a set of second-order differential equations representing the geosynchronous orbit of a satellite using Euler's method in MATLAB. The equations are defined as d²x/dt² = -k²x/r³ and d²y/dt² = -k²y/r³, where k², r, and V are provided constants. The user correctly reformulates the equations into a system of first-order ODEs but struggles with implementing Euler's method in MATLAB, particularly in determining the initial conditions for the variables. The solution emphasizes that any initial position on the circular orbit is valid, with the velocity calculated as the circumference of the orbit divided by one sidereal day.

PREREQUISITES
  • Understanding of second-order differential equations
  • Familiarity with Euler's method for numerical solutions
  • Basic knowledge of MATLAB programming
  • Concept of geosynchronous orbits and related physics
NEXT STEPS
  • Implement Euler's method in MATLAB for solving ODEs
  • Research initial conditions for circular motion in orbital mechanics
  • Explore MATLAB's built-in ODE solvers like ode45 for comparison
  • Study the physics of geosynchronous orbits and their mathematical modeling
USEFUL FOR

This discussion is beneficial for students and professionals in aerospace engineering, physicists working on orbital mechanics, and MATLAB users interested in numerical methods for solving differential equations.

olski1
Messages
14
Reaction score
0
Hi,

I am completely stuck on this problem that has been given to us.

I must solve a set of 2nd order differential equations using Euler's method. It is for a geosychronous orbit of a satellite, meaning the orbit is circular and the velocity vector is perpendicular to the radius vector (r.V=0). The equations are:

d2x/dt2=-k2x/r3

and

d2y/dt2=-k2y/r3

k^2,r and V are all given.

My first step was to set up sets of ode's to solve.

for the first equation we have,

let y1=x and y2=dy1/dt

hence, dy2/dt= -k2y1/r3

and for the second,

let y3=y and y4=dy3/dt

hence, dy4/dt= -k2y3/r3

which I think is correct.

Now I have to pass this into a MATLAB function which uses eulers method. But I have no idea how to implement it. my main problem at the moment is that I do not know what to use as my initial y1,2,3,4 values in the function vector.

Can anyone help?
 
Physics news on Phys.org
I am not sure why anyone would want to solve and ODE for motion which is completely known, but still.

You can take any initial position as long as it is on the orbit (circle). The velocity, as you say, is perpendicular to it and must be equal to the length of the orbit divided by one sidereal day.
 

Similar threads

Replies
1
Views
4K
Replies
4
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
5K
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K