# calculate EP = mgh and EK = 1/2mv power by 2
# calculate W = F * s
# calculate speed and aceleration of object (V = s/t)

m = float(input("Input Mass (KG): "))
g = float(input("Input Gravity (Newton/KG): "))
h = float(input("Input Height (Meters): "))

print("Potential Energy :", m*g*h, "Joule")
print("\n")

m = float(input("Input Mass (KG): "))
v = float(input("Input Velocity (Meters/Seconds): "))

print("Kinetic Energy :", (1/2) * pow((m * v), 2), "Joule")
print("\n")

f = float(input("Input Force (Newtons): "))
s = float(input("Input Displacement of object (Meters): "))

print("Work :", f*s, "Joule")
print("\n")

s = float(input("Input Distance (Meters): "))
t = float(input("Input Time (Seconds): "))

print("Velocity :", s/t, "Meters/Seconds")
print("\n")
