Question
Answered step-by-step

Compute the approximate acceleration of gravity for an object above...

Compute the approximate acceleration of gravity for an object above the earth's surface, assigning accel_gravity with the result. The expression for the acceleration of gravity is: (G * M) / (d 2), where G is the gravitational constant 6.673 x 10-11, M is the mass of the earth 5.98 x 1024 (in kg), and d is the distance in meters from the Earth's center (stored in variable dist_center).


Sample output with input: 6.3782e6 (100 m above the Earth's surface at the equator)

Acceleration of gravity: 9.81

1.G = 6.673e-11

2.M = 5.98e24

3.accel_gravity = 0.0

4.

5.dist_center = float(input())

6.

7.''' Your solution goes here '''

8.

9.print('Acceleration of gravity: {:.2f}'.format(accel_gravity))

Answer & Explanation
Verified Solved by verified expert

m risus ante,

itur laoree

risus ante, dapibus


at, ultrices ac magna. Fusce


sque dapibus efficitur laoreet. Nam


o. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adip

ctum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, con

Unlock full access to Course Hero

Explore over 16 million step-by-step answers from our library

Subscribe to view answer
Step-by-step explanation

a molestictum vitae oda molestie consequat, ultrices ac magna. Fusce

usce duiitur laoreenec facilisis. Pellentesque dapibus

, dictum vitae odio. Donec aliquet. Lur laoreet. Nam risu

inia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante,

m ipsum dolor sit amet, cons


molestie consequat, ultricesdictum vitae odio. Donefficitur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dictu

sque dapibus efficitur laoreet. Nam


or nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibu

ipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pell


et, consectetur adipi

s a molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac,result_acce.PNG

1 Attachment
result_acce.PNG
PNG
Student reviews
91% (11 ratings)