blob: 3f43371ef7f14f962a03ea052f9ec4d79c4426ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//Initilization of variables
W=500 //N //weight of cylinder
alpha=25 //degree //angle made by OA with horizontal
beta=65 //degree //angle made by OB with horizontal
theta=90 //degree // theta=(alpha+beta)
//Calculations
Ra=(W*sind(beta))/sind(theta) //N //from equilibrium eq'n
Rb=(W*sind(alpha))/sind(theta) //N //from equilibrium eqn's
//Results
clc
printf('The reaction at A is %f N \n',Ra)
printf('The reaction at B is %f N \n',Rb)
|