summaryrefslogtreecommitdiff
path: root/3886/CH2/EX2.20/Ex2_20.sce
blob: 92234f9ba0c41d26f1a188ecd2c6f7a898e93f30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Reactions developed at contacts
//Refer fig. 2.25(a),(b and (c)
//consider equilibrium of cylinder 1
//using conditions of equilibrium we get
RA=500*cosd(30)  //N
RB=500*sind(30)  //N
//Consider equilibrium of cylinder 2
//using conditions of equilibrium we get
RC=(500+250*sind(30))/cosd(30)  //N
RD=RC*sind(30)+250*cosd(30)  //N
printf("\nThe reactions are:-\nRA=%.1f N\nRB=%.1f N\nRC=%.1f N\nRD=%.1f N",RA,RB,RC,RD)