Question: Potential energy is given by potential _ energy = object _ mass * * planet _ gravity * * object _ height. Read object _
Potential energy is given by potentialenergy objectmass planetgravity objectheight. Read objectmass,
planetgravity, and objectheight from input as floats, respectively. Then, compute potentialenergy using the formula. Finally,
output 'Potential energy is followed by the value of potentialenergy to five digits after the decimal point.
Ex: If the input is:
then the output is:
Potential energy is
Your code goes here
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
