summaryrefslogtreecommitdiff
path: root/3862/CH2/EX2.19/Ex2_19.sce
blob: 919d7122184d894adc22069b1c0a96e96753560d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//

//Free body diagram of the sphere  shows all the forces moving away from the centre of the ball. Applying Lami’s theorem to the system of forces.

//variable declaration
W=100.0                //weight of sphere,N
theta=15.0*%pi/180      //angle of inclination of string with wall

T=(W*sin((%pi/2)))/sin((%pi/2)+theta)
R=(W*sin((%pi-theta)))/sin((%pi/2)+theta)
printf("\n T= %0.2f  N",T)
printf("\n R= %0.2f  N",R)