#variable declaration
u=0 #initial velocity
a=0.4 #acceleration in m/s**2
t=20 #Time taken in s
#calculation
s=(u*t)+((a*t**2)/2)
#Result
print"The distance covered by the car, s=",int(s),"m"
#variable declaration
u=7.5 #on coverting km.p.h to m/s
a=0.5 #acceleration in m/s**2
t=12 #Time taken in s
#calculation
s=(u*t)+((a*t**2)/2)
#Result
print"The distance travelled by the train, s=",int(s),"m"
import math
#variable declaration
u=0 #initial velocity
a=1.2 #acceleration in m/s**2
s=60 #distance travelled in m
#calculation
v=math.sqrt(u**2+(2*a*s))
#Result
print"v=",round((v*3600)/1000,1),"km.p.h."
#variable declaration
u=-4.9 #initial velocity in m/s
t=2 #time taken in s
g=9.8 #gravity in m/s**2
#calculation
h=(u*t)+((g*t**2)/2)
#Result
print"Height of the bridge, h=",round(h,1),"m"
#variable declaration
u=-12 #velocity of balloon when packet is dropped in m/s
t=2 #time in s
g=9.8 #gravity in m/s**2
#calculation
v=u+(g*t)
#Result
print"Velocity of packet after 2 sec, v=",round(v,1),"m/s"
#variable declaration
u=0 #initial velocity
t=2.8 #Time taken in s
g=9.8 #gravity in m/s**2
#calculation
s=(u*t)+((g*t**2)/2)
#Result
print"The height of the buiding, s=",round(s,1),"m"
#variable declaration
u=0 #initial velocity
s=65 #height of the building in s
g=9.8 #gravity in m/s**2
#calculation
v=math.sqrt(u**2+(2*g*s))
#Result
print"v=",round(v,1),"m/s"
#variable declaration
u=-28 #initial velocity in m/s
t=2 #time taken in s
g=9.8 #gravity in m/s**2
#calculation
s=(u*t)+((g*t**2)/2)
#Result
print"Distance covered by the body in 2 seconds, s=",round(s,1),"m"
#variable declaration
u=-80 #initial velocity in m/s
v=0 #Final velocity
g=9.8 #gravity in m/s**2
#calculation
s=(v**2-u**2)/(2*g)
#Result
print"Height to which the bullet will rise above the point of projection, s=",round(s,1),"m"
#variable declaration
u=0 #initial velocity
t_1=3 #Time taken by the first body in s
t_2=2 #Time taken by the second body in s
#calculation
h_1=(u*t_1)+((g*t_1**2)/2)
h_2=(u*t_2)+((g*t_2**2)/2)
#Result
print"Separation between the bodies=",round(h_1-h_2,1),"m"