Question: Potential energy is given by potential _ energy = object _ mass * * planet _ gravity * * object _ height. Read object _

Potential energy is given by potential_energy = object_mass ** planet_gravity ** object_height. Read object_mass,
planet_gravity, and object_height from input as floats, respectively. Then, compute potential_energy using the formula. Finally,
output 'Potential energy is ' followed by the value of potential_energy to five digits after the decimal point.
Ex: If the input is:
5.0
8.0
7.0
then the output is:
Potential energy is 280.00000
1
2|'' Your code goes here '.'
3
 Potential energy is given by potential_energy = object_mass ** planet_gravity **

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!