QUESTION IMAGE
Question
complete the program as follows:
- read object_mass and object_velocity from input as floats, respectively.
- compute object_momentum using the formula object_momentum = object_mass * object_velocity.
- output \object momentum is \ followed by the value of object_momentum to five digits after the decimal point.
ex: if the input is:
4.0
9.0
then the output is:
object momentum is 36.00000
1
2 \\\ your code goes here \\\
3
Step1: Read input as floats
object_mass = float(input())
object_velocity = float(input())
Step2: Calculate momentum
object_momentum = object_mass * object_velocity
Step3: Format and print output
print(f"Object momentum is {object_momentum:.5f}")Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
object_mass = float(input())
object_velocity = float(input())
object_momentum = object_mass * object_velocity
print(f"Object momentum is {object_momentum:.5f}")