Orbital Mechanics: Modeling a Planet's Path with Programming

AI Thread Summary
Modeling a planet's path in orbital mechanics requires understanding the gravitational forces and how they interact with an object's velocity. A fixed large mass and a small mass moving at constant velocity will not result in an orbit; instead, the small mass will follow a straight line due to its constant velocity. To create a script that computes various orbits, one must grasp the physics concepts behind gravitational attraction and orbital dynamics. Simply having programming skills is insufficient without a solid understanding of the underlying physics principles. A comprehensive approach to both programming and physics is essential for successful modeling of orbital paths.
Phys_Boi
Messages
49
Reaction score
0
So I'm really interested in orbital mechanics. I'm only 16 so my knowledge of physics is restricted to an intermediate level. If there is a planet with large mass and a planet with small mass they are attracted to each other... So imagine a system where the large mass is fixed and the small object has a constant velocity. How can I model (I'm a big programmer and would like to create a script for this) the path the object takes around the plant. I know this has to do with the balance between the Fg and the velocity...
Thank you for any help.
 
Physics news on Phys.org
Phys_Boi said:
So I'm really interested in orbital mechanics. I'm only 16 so my knowledge of physics is restricted to an intermediate level. If there is a planet with large mass and a planet with small mass they are attracted to each other... So imagine a system where the large mass is fixed and the small object has a constant velocity. How can I model (I'm a big programmer and would like to create a script for this) the path the object takes around the plant. I know this has to do with the balance between the Fg and the velocity...
Thank you for any help.
I would like to also point out that i don't want only circular orbits. I would like for the program to be able to compute all orbits easily computable
 
Phys_Boi said:
So I'm really interested in orbital mechanics. I'm only 16 so my knowledge of physics is restricted to an intermediate level. If there is a planet with large mass and a planet with small mass they are attracted to each other... So imagine a system where the large mass is fixed and the small object has a constant velocity. How can I model (I'm a big programmer and would like to create a script for this) the path the object takes around the plant. I know this has to do with the balance between the Fg and the velocity...
Thank you for any help.
Phys_Boi said:
I would like to also point out that i don't want only circular orbits. I would like for the program to be able to compute all orbits easily computable
Have fun! :smile:

https://en.wikipedia.org/wiki/Orbital_mechanics
 
Thank you!
 
Phys_Boi said:
So imagine a system where the large mass is fixed and the small object has a constant velocityHow can I model (I'm a big programmer and would like to create a script for this) the path the object takes around the planet.

If the velocity is constant there is no path around the planet. Constant velocity means that the trajectory is a straight line. So there is nothing to program about it.
It is not enough to be good at programming to solve physics problems. It helps a lot if you spend some time to understand the physics and the meaning of the terms used in physics.
 
Hello everyone, Consider the problem in which a car is told to travel at 30 km/h for L kilometers and then at 60 km/h for another L kilometers. Next, you are asked to determine the average speed. My question is: although we know that the average speed in this case is the harmonic mean of the two speeds, is it also possible to state that the average speed over this 2L-kilometer stretch can be obtained as a weighted average of the two speeds? Best regards, DaTario
The rope is tied into the person (the load of 200 pounds) and the rope goes up from the person to a fixed pulley and back down to his hands. He hauls the rope to suspend himself in the air. What is the mechanical advantage of the system? The person will indeed only have to lift half of his body weight (roughly 100 pounds) because he now lessened the load by that same amount. This APPEARS to be a 2:1 because he can hold himself with half the force, but my question is: is that mechanical...
Some physics textbook writer told me that Newton's first law applies only on bodies that feel no interactions at all. He said that if a body is on rest or moves in constant velocity, there is no external force acting on it. But I have heard another form of the law that says the net force acting on a body must be zero. This means there is interactions involved after all. So which one is correct?
Back
Top