summaryrefslogtreecommitdiff
path: root/3886/CH4/EX4.8/Ex4_8.sce
blob: 47b6ff00376dae93d7f9885b17f0830841e73966 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Finding forces in members
//Refer fig. 4.15 (a)
RA=7*20/2  //kN
RB=RA  //kN  (symmetry)
//CE is perpendicular on AB
CE=5.196  //m
DE=3  //m
theta=atand(5.196/3)  //degree
//The fact that 20 kN loads are equidistant can be used to find out horizontal distances of loads from A
//Consider equilibrium of left hand side portion of section (1)-(1)
//taking moment about A
F2=(20*2.25+20*4.5+20*6.75)/(6*sind(60))  //kN  (Tension)
F1=(70-20-20-20+51.96*sind(60))/sind(30)  //kN  (compression)
F3=-51.96*cosd(60)+110*cosd(30)  //kN  (Tension)
printf("The required forces are:-\nF1=%.2d kN (Compression)\nF2=%.2d kN (Tension)\nF3=%.2d kN (Tension)",F1,F2,F3)