where G is the gravitational constant (6.672 X 10-11 N m2 /kg2), M is the mass of the earth (5.98 X 1024 kg), R is the mean radius of the Earth (6371 km), and h is the height above the Earth’s surface. If M is measured in kg and R and h in meters, then the resulting acceleration is in units of meters per second squared. Write a program to calculate the acceleration due to the Earth’s gravity in 500 km increments at heights from 0 km to 40,000 km above the surface of the Earth. Print out the results in a table of height versus acceleration with appropriate labels, including the units of the output values.
煩請各位神大幫忙
This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers. Five Filters recommends: