Question
Artemis I should be launching soon. The mission of the program is to create a base on the moon for future voyages to Mars. The
Artemis I should be launching soon. The mission of the program is to create a base on the moon for future voyages to Mars. The will experience three (3) different gravities on their journey. The table below contains the planets mass, diameter, and gravity:
Planet | Mass (kg) | Diameter (m) | Gravity(g) | |
Earth | 5,973,600,000,000,000,000,000,000 | 12,756,000 | 9.765 | |
Moon |
| 3,475,000 | 1.623 | |
Mars |
| 6,792,000 | 3.711 |
Develop a program to calculate the gravity based on the following formula:
where g is gravity, G the gravitational constant, M mass and R the planets radius. The Gravitational constants value is 0.0000000000667.
Your program needs to be written so the user inputs the planets diameter per the table above.
g=R2GMStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started