Lunar Lander Formulas for Fuel / Masses

Click For Summary
SUMMARY

The discussion focuses on developing a computer program to calculate the landing dynamics of a spacecraft on a planet using physics formulas. Key variables include the mass of the planet, mass of the craft, initial fuel mass, fuel burn efficiency, initial height, and initial velocity. The gravitational force of attraction is calculated using the formula F = (G*m1*m2)/r^2, where G is the universal gravitational constant. The program aims to ensure a safe landing within a velocity range of +/- 5 m/s.

PREREQUISITES
  • Understanding of gravitational force calculations using F = (G*m1*m2)/r^2
  • Knowledge of basic kinematics and acceleration equations
  • Familiarity with programming concepts for user input and output
  • Experience with physics principles related to point masses
NEXT STEPS
  • Research the implementation of gravitational force calculations in programming languages
  • Learn about numerical methods for simulating motion under gravity
  • Explore fuel consumption models and thrust calculations in aerospace engineering
  • Investigate error handling techniques for user input in software applications
USEFUL FOR

Aerospace engineers, computer science students, and developers working on simulations related to spacecraft dynamics and landing algorithms.

dtturner12
Messages
1
Reaction score
0

Homework Statement



I am currently working on a computer science program which calculates the landing of a craft on a given planet. The user will enter in various known variables. I need some direction on what formulas to use for my program. I am strong in computer science however I haven't seen the formulas for this type of physics in a while and need some direction. Here is what variables the user will be able to "plug" into the equation to calculate the landing..

• The user initializes the program by entering the mass of the planet, mass of the craft, initial mass of fuel,fuel burn efficiency (amount of thrust/unit mass of fuel), initial height of craft above planet, and the initial velocity of the craft. This information will be entered from the keyboard.
• The height and velocity of the craft will only be in one direction orthogonal to a point on the planet.
• There are no other component forces acting upon the craft.
• Assume the planet and the craft are point masses.
• There are no other masses present.
• The program will prompt the user for amount of fuel to burn along with the burn time in seconds
• Appropriate calculations will be performed and the new craft vertical height above the planet and velocity will be displayed.
• A safe landing is when the craft contacts the surface of the planet within +/- 5m/s.
• Use the masses of the objects to calculate the force of attractio

Homework Equations



Relevant equations would be calculating the accelerations, and point masses

The Attempt at a Solution



i have a program written prompting all of the data from the keyboard however I am not sure what to do with the data such as which formulas to use.
 
Physics news on Phys.org
I think the relevant equations would be calculating the accelerations, and point masses. The acceleration of the craft would be a function of the gravitational force of attraction between the planet and craft divided by the mass of the craft. The equation for the gravitational force of attraction is F= (G*m1*m2)/r^2, where G is the universal gravitational constant, m1 and m2 are the two masses, and r is the distance between them.
 

Similar threads

Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
21
Views
4K
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K