Answered step by step
Verified Expert Solution
Question
1 Approved Answer
If you fire a projectile fast enough, the curve of the earth will match the speed at which the projective falls. The projectile will then
If you fire a projectile fast enough, the curve of the earth will match the speed at which the projective falls. The projectile will then orbit the earth. The speed, in meters/second necessary to orbit the earth at an altitude h can be calculated by velocity = Squareroot G Me /R + h where: G is the universal gravitation constant, 6.67408 times 10^-11 (written 6.67408e-1 1 in Java) Me is the mass of the earth, 5972 times 10^24 Kg R is the radius of the earth, 6.371 times 10^6 meters h is the height of the orbiting object in meters Write a program that asks the user the altitude of an obit in kilometers and then displays the velocity in meters/second. Note that there are 1000 meters in a kilometer. You will have to convert the input from kilometers to meters. Sample input and output Enter the orbit altitude in Km 225 The orbit speed is 7773.476322849655 m/s Most people in America are more familiar with miles than meters. Modify your program to input the altitude in miles and display the result in miles/hour. There are 1.60934 kilometers in a mile and 2.23694 miles/hour in one meter/second. Convert the input from miles to km and the result of the calculation from m/s to mph
Step 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