blob: c074ccddccc0ebce5b24aabf5683e4df18e9b7f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//Initilization of variables
Wa=1000 //N //weight of sphere A
Wb=400 //N //weight of sphere B
Ra=0.09 //m //radius of sphere A
Rb=0.05 //m //radius of sphere B
theta=33.86 //degree //angle made by Rq with Wb
alpha=60 //degree //angle made by Rl with horizontal
//Calculations
Rq=Wb/cosd(theta) //N //using sum Fy=0 for sphere B
Rp=Rq*sind(theta) //N //using sum Fx=0 for sphere B
Rl=(Rq*sind(theta))/sind(alpha) //N //using sum Fx=0 for sphere A
Rn=((Wa)+(Rq*cosd(theta))-(Rl*cosd(alpha))) //N
//Results
clc
printf('The reaction at point P is %f N \n',Rp)
printf('The reaction at point L is %f N \n',Rl)
printf('The reaction at point N is %f N \n',Rn)
|