blob: 3d76f7299a750c1612e9805d0561b33b2362e88e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clc
//initialisation of variables
w= 4 //ft
l= 4 //ft
X= 10 //ft
a = 45 //degrees
W= 62.4 //lbs/ft^3
u= 0.25
//CALCULATIONS
A= w*l
X1= X+(w/2)*sind(a)
P= W*A*X1
T= u*P
//RESULTS
printf ('magnitude of the lifting force= %.f lbs ',T)
|