summaryrefslogtreecommitdiff
path: root/3886/CH15/EX15.10/15_10.sce
blob: 9ee0f376a31d1013e4de50cb1451deb2355445a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Two bodies hung to the rope ends
//refer fig. 15.12 (a),(b) and (c)
//Let a be the acceleration with which the system moves and T be the tension in the string
//Considering 300 N body
//T-(300*a)/(9.81)=300
//Considering 450 N body
//T+(450*a)/(9.81)=450
//solving we get
a=(450-300)*9.81/(450+300)  //m/sec^2
T=300+((300*1.962)/(9.81)) //N
printf("\na=%.4f m/sec^2\nT=%.0f N",a,T)