blob: 4c37ae884dd8b8fa19abe0a4dd124c587cdd009f (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Two bodies hung to rope
//refer fig. 16.15 (a) and (b)
s=(450+300)*(4*4-2*2)/(2*9.81*150) //m
//Let T be the tension in the string
//apply work energy principle
T=((450*3.058)-((450*12)/(2*9.81)))/3.058 //N
printf("\nT=%.0f N\ns=%.3f m",T,s)
|