summaryrefslogtreecommitdiff
path: root/3772/CH10/EX10.3/Ex10_3.sce
blob: 23777b820039ee810074254bdaf62da14604f3fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// Problem no 10.3,Page No.252

clc;clear;
close;

//taking moment at pt A we get
R_D=(90*6+120*3)*9**-1 //Reaction at Pt D

//Joint D

//Applying the summation of vertical forces  we get
F_GD=100*(sin(60*%pi*180**-1))**-1

//Applying the summation of horizontal  forces  we get
F_DC=F_GD*cos(60*%pi*180**-1)

//Joint G

//Applying the summation of vertical forces  we get
F_GC=F_GD

//Applying the summation of horizontal  forces  we get
F_FG=F_GD*cos(60*%pi*180**-1)+F_GC*cos(60*%pi*180**-1)

//joint C

//Applying the summation of vertical forces  we get
F_FC=(115.5*sin(60*%pi*180**-1)-90)*(sin(60*%pi*180**-1))**-1

//Applying the summation of horizontal  forces  we get
F_CB=F_DC+F_GC*cos(60*%pi*180**-1)+F_FC*cos(60*%pi*180**-1)

//joint F

//Applying the summation of vertical forces  we get
F_FB=F_FC

//Applying the summation of horizontal  forces  we get
F_EF=F_FG+F_FC*cos(60*%pi*180**-1)+F_FB*cos(60*%pi*180**-1)

//Joint B

//Applying the summation of vertical forces  we get
F_EB=(120-F_FB*sin(60*%pi*180**-1))*(sin(60*%pi*180**-1))**-1

//Applying the summation of horizontal  forces  we get
F_BA=F_CB+F_FB*cos(60*%pi*180**-1)-F_EB*cos(60*%pi*180**-1)

//Joint E

//Applying the summation of vertical forces  we get
F_AE=F_EB

//Result
printf("Forces in Each members are as follows:F_GD %.1f kN (compression)",F_GD)
printf("\n                                      :F_DC %.2f",F_DC);printf(" KN(Tension)" )
printf("\n                                      :F_GC %.1f kN (Tension)",F_GC)
printf("\n                                      :F_FG %.1f kN (Compression)",F_FG)
printf("\n                                      :F_FC %.1f kN(compression)",F_FC)
printf("\n                                      :F_CB %.2f",F_CB);printf(" KN(Tension)")
printf("\n                                      :F_FB %.1f kN(compression)",F_FB)
printf("\n                                      :F_EF %.2f",F_EF);printf(" KN(compression)")
printf("\n                                      :F_EB %.2f",F_EB);printf(" KN(Tension)")
printf("\n                                      :F_BA %.2f",F_BA);printf(" KN(Tension)")
printf("\n                                      :F_AE %.2f",F_AE);printf(" KN(compression)")