# Acceleration of Gravity

Acceleration of Gravity

Image transcription text

IT 140: Introduction to Scripting v3 home > 1.15: Python expressions zyBooks catalog ? Help Feedback? CHALLENGE ACTIVITY 1.15.3: Acceleration of gravity. 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 1 test 3 accel_gravity = 0.0 passed 4 6 dist_center = float(input()) All tests "Your solution goes here " " passed 8 print(' Acceleration of gravity: {: .2f}' . format(accel_gravity)) Run Feedback? 28 A w Q Search or enter website name @ # $ % & N 3 W E R T Y U O P S D F G H K Z X C V B N M

acinia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, d

iscing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibUnlock full access to Course Hero

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

Subscribe to view answer