summaryrefslogtreecommitdiff
path: root/3862/CH2/EX2.28/Ex2_28.sce
blob: dda74db1d23823923e2d527a0a3dd72fcd9102af (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
clear
//

//variable declaration
W=600.0                      //weight of cyclinder,N
r=150.0                      //radius of cylinder,mm
a=600.0                      //mm
b=300.0                      //mm

//Free body diagram of sphere and frame

////sum of vertical Fy & sum of horizontal forces Fx is zero
//Assume direction of Fx is right
//Assume direction of Fy is up

RB=600.0                     
//As the frame is in equilibrium under the action of three forces only, they must be concurrent forces. In other words, reaction at D has line of action alone OD. Hence, its inclination to horizontal is given by: 
printf("\n RB= %0.2f  N",RB)
alpha=atan((a-r)/r)
printf("\n alpha= %0.4f  °",alpha)

RD=W/sin(alpha)
printf("\n RD= %0.3f  N",RD)

RC=RD*cos(alpha)
RA=RC
printf("\n RC= %0.0f  N",RC)
printf("\n RA= %0.0f  N",RA)