In: Computer Science
2.20 Domain Lab 3.1 -- Velocity Calculator
You may (or may not) need the following constants:
Velocity Calculator Your program should ask the user (in this order) for:
Your program should then calculate and display the resulting final velocity based on the inputs provided.
# vaiable to store intial velocity
intialvelocity = float(input("Enter the intial velocity(m/s):
"))\
# vairable to store acceleration
acceleration = float(input("Enter the acceleration(m/s^2):
"))
# vaiable to store time
time = float(input("Enter the time period in seconds: "))
# calculating final velocity
finalVelocity = intialvelocity + acceleration*time
print("Final velocity is: ", finalVelocity)