blob: 53d4672c72ddba06a18e19bf313186039f12ddfb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//Tensions in the strings
//refer fig. 17.7
//Case (a)- Initial velocity u=0 t=5 sec
//Writing impulse momentum equation for 500 N block and 1500 N block and solving obtained equations
v=7.007 //m/sec
T=642.86 //N
//Case (b)-Initial velocity u=3 m/sec
//Writing impulse momentum equation for 500 N block and 1500 N block and solving obtained equations
v1=9.15 //m/sec
T1=655.96 //N
printf("\nFor case (a)\nv=%.3f m/sec\nT=%.3f N",v,T)
printf("\nFor case (b)\nv=%.3f m/sec\nT=%.3f N",v1,T1)
|