How to calculate orbitals of celestial bodies using calculus?

In summary, the conversation discusses the topic of calculating the orbitals of bodies of mass in space using Newton's basic laws. The equations governing the motion of these bodies are mentioned, including the magnitude and direction of force due to gravitational attraction, and the acceleration due to gravity. The question of how to determine the total displacement of an object given a certain time interval is raised, and the methods of Euler, midpoint, and Runge-Kutta are suggested as possible solutions.
  • #1
eNathan
352
2
Hi all,

I have a question about calculating the orbitals of bodies of mass in space (Newton's basic laws). I am writing a program to simulate the orbitals of bodies in space -- basically, you define the object's mass, size, location, and initial velocities and watch how they interaction via gravitational attraction.

So we know the following equations that govern the motion of these bodies:

Magnitude of force due to gravitational attraction:
[itex]F=G\frac{m1*m2}{r^2}[/itex]
The direction is, at any instant in time, points in the same direction as displacement between the centers of their mass (points in direction of the other body of mass).

We know the magnitude and direction of the force, and from this, we would say that the acceleration due to gravity that object 1 undergoes is given by:
[itex]a=\frac{F}{m1}[/itex]
The direction of which is the same direction as the force vector.

Now suppose I asked the following question: what is the total displacement that object 1 undergoes given any arbitrary [itex]Δt[/itex] (and initial velocity is known)? Currently, my program just changes the velocity vector based on the direction of [itex]a[/itex] at whatever moment the refresh was called, and from that changes the object's position, but I know this is not entirely accurate (e.g., this is comparable to finding the area under a curve by diving it into tiny rectangles), because the direction of [itex]a[/itex] is constantly changing.

What is the calculus method of doing this?

Much appreciated!
 
Physics news on Phys.org

FAQ: How to calculate orbitals of celestial bodies using calculus?

1. What are orbitals of celestial bodies?

Orbitals refer to the path that a celestial body, such as a planet or moon, takes around a larger body, such as a star or planet. These paths are determined by the gravitational pull of the larger body.

2. How are orbitals calculated?

Orbitals are calculated using a combination of mathematical equations, such as Newton's law of universal gravitation, and observations of the celestial bodies' movements. These calculations can be done by scientists using specialized software and data from telescopes and other instruments.

3. What factors affect the shape of an orbital?

The shape of an orbital is primarily determined by the mass and distance of the two bodies involved. The larger the mass of the central body, the more elliptical the orbit tends to be. The distance between the two bodies also affects the shape, with closer distances resulting in more circular orbits.

4. Can the shape of an orbital change over time?

Yes, the shape of an orbital can change over time due to various factors, such as the gravitational pull of other nearby celestial bodies, the rotation of the central body, and the effects of tidal forces. These changes can cause an orbital to become more elliptical or circular.

5. How do orbitals affect the behavior of celestial bodies?

Orbitals play a crucial role in determining the behavior of celestial bodies. They dictate the speed and direction of movement, as well as the distance between bodies. Changes in orbitals can also influence the seasons, tides, and other phenomena on a planet or moon.

Similar threads

Replies
6
Views
1K
Replies
6
Views
624
Replies
12
Views
3K
Replies
1
Views
2K
Replies
4
Views
2K
Replies
5
Views
2K
Replies
29
Views
2K
Back
Top