# Chapter 1 : Introduction¶

## Example 1.1 Page No : 3¶

In [3]:
import math

# Variables
L = 20. 			#ft
angle = 30.			#degrees

# Calculations

# Results
print  'Desitance from foot of Ladder = %.2f ft'%(d)

Desitance from foot of Ladder = 10.00 ft


## Example 1.2 Page No : 5¶

In [4]:
import math

# Variables
a = 5.
b = 12.
angle = 60. 			#degrees

# Calculations

# Results
print  'c  = %.1f '%(c)

c  = 10.4


## Example 1.3 Page No : 5¶

In [5]:

import math

# Variables
a = 5.
b = 12.
angle = 120. 			#degrees

# Calculations

# Results
print  'c  = %.1f '%(c)

c  = 15.1


## Example 1.4 Page No : 6¶

In [7]:
import math

# Variables
b = 12.
angle1 = 35. 			#degrees
angle2 = 43. 			#degrees

# Calculations
angle3 = 180-angle1-angle2

# Results
print  'c  = %.2f '%(c)
print  'a = %.2f.'%(a)

c  = 7.04
a = 8.37.


## Example 1.5 Page No : 7¶

In [5]:
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)

W  = 256 lb


## Example 1.6 Page No : 7¶

In [6]:
import math

# Variables
V = 30. 			#mph

# Calculations
Vinfps = V*5280*(1./60)*(1./60)

# Results
print  'v  = %.f fps'%(Vinfps)

v  = 44 fps