
Patrick B. answered 01/16/21
Math and computer tutor/teacher
def Momentum ( m, v):
return( float(m)*float(v))
def KineticEnergy( m, v):
return(float(m)*float(v)*float(v))
M = input("Please input the Mass of the object :>")
V = input("Please input the Velocity of the object :>")
print(" the mass is " + str(M))
print(" the velocity is " +str(V))
print(" the momentum is " + str(Momentum(M,V)))
print(" the kinetic energy is " + str(KineticEnergy(M,V)))