import math
# Variables
L = 20. #ft
angle = 30. #degrees
# Calculations
d = L*math.sin(math.radians(angle))
# Results
print 'Desitance from foot of Ladder = %.2f ft'%(d)
import math
# Variables
a = 5.
b = 12.
angle = 60. #degrees
# Calculations
c = math.sqrt(a**2+b**2-2*a*b*math.cos(math.radians(angle)))
# Results
print 'c = %.1f '%(c)
import math
# Variables
a = 5.
b = 12.
angle = 120. #degrees
# Calculations
c = math.sqrt(a**2+b**2-2*a*b*math.cos(math.radians(angle)))
# Results
print 'c = %.1f '%(c)
import math
# Variables
b = 12.
angle1 = 35. #degrees
angle2 = 43. #degrees
# Calculations
angle3 = 180-angle1-angle2
a = math.sin(math.radians(angle2))*b/math.sin(math.radians(angle3))
c = a*math.sin(math.radians(angle1))/math.sin(math.radians(angle2))
# Results
print 'c = %.2f '%(c)
print 'a = %.2f.'%(a)
import math
# Variables
Wofaninch = 0.29 #lb
L = 3.5 #ft
width = 1.75 #ft
t = 1. #in
# Calculations
W = L*width*t*12*12*Wofaninch
# Results
print 'W = %.f lb'%(W)
import math
# Variables
V = 30. #mph
# Calculations
Vinfps = V*5280*(1./60)*(1./60)
# Results
print 'v = %.f fps'%(Vinfps)