Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Code in C please 1) Consider a satellite that is in a low orbit about the Earth at a given altitude in km above Earth's

Code in C please

1) Consider a satellite that is in a low orbit about the Earth at a given altitude in km above Earth's surface. Write a program that takes input from the user for the altitude of the satellite and calculates the orbital speed of this satellite. The orbital speed may have decimal values that should be rounded up using the ceiling. The output should be a meaningful sentence. You need to use functions for the calculation when using the equation. Use the information given below. The formula is: velocity = (gravitational constant * total mass / orbit radius) v = (G * M / r) Important information: Gravitational constant G = 6.673 * 10 -11 Nm/Kg Mass of earth M = 5.98 x 10 24 kg Radius r = Radius of earth + altitude provided by the user Radius of earth = 6.37 x 10 6 m . A sample of input and output: Orbital speed Calculator Input: Enter the altitude of the Satellite in km: 220 Output: The orbital speed of the satellite is 7782 m/s

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Sham Navathe

4th Edition

0321122267, 978-0321122261

More Books

Students also viewed these Databases questions

Question

What is the purpose of the Salary Structure Table?

Answered: 1 week ago

Question

What is the scope and use of a Job Family Table?

Answered: 1 week ago