import math
#initialisation of variables
g= 32.2 #ft/sec**2
t= 1. #hr
g1= 32.2 #ft/sec**2
g2= 32.2 #lbm ft/lbf
u= 2.4*10**-5 #lbf sec/ft**2
#CALCULATIONS
q2= g*(t*60*60)**2
go= g*(t*60*60)**2
q3= g/g2
u1= u/(t*60*60)
#RESULTS
print ' q2 = %.2e lbm ft/lbf hr**2'%(q2)
print ' go = %.2e lbm ft/lbf hr**2'%(go)
print ' go = %.f slug ft/lbf sec**2'%(q3)
print ' viscosity = %.2e lbf hr/ft**2'%(u1)
#initialisation of variables
g= 32.2 #ft/sec**2
m= 1 #lb
#CALCULATIONS
m1= g/m
#RESULTS
print '1 lbf/sec ft**2 = %.1f lbm/ft sec'%(m1)
#initialisation of variables
n1=1.
n2= 3.
n3=2.
#CALCULATIONS
a1= -n1
a2= -n3
a3= -n1-a2+3*a1
b1= -n1
b2= -n1
b3= n1+3*b1-b2
#RESULTS
print ' a1 = %.f '%(a1)
print ' a2 = %.f '%(a2)
print ' a3 = %.f '%(a3)
print ' b1 = %.f '%(b1)
print ' b2 = %.f '%(b2)
print ' b3 = %.f '%(b3)