I want to calculate a car's acceleration in mph. The initial velocity is 0, the final velocity is 60 and the time is meant to be inputted by the user in seconds. I know the equation for acceleration is (final velocity - initial velocity)/time.
However, I'm not sure how to get it into mph and how my equation needs to be modified. Here's my code so far:
time = 0
acceleration = 0
initial_velocity = 0
final_velocity = 60
print('Inputt the time required for the care to reach 60 mph in seconds.')
time = float(input())
acceleration = (final_velocity - initial_velocity)/time
print('The acceleration of the car is:' acceleration')