summaryrefslogtreecommitdiff
path: root/3886/CH18/EX18.1/18_1.sce
blob: bec05db581116b6e024535654add939307ef405c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Direct central impact
//Refer fig. 18.3
u1=6  //m/sec
u2=-10  //m/sec
//Principle of conservation of momentum
//2*v1+v2=2
//From the defination of coefficient of restitution
//v2-v1=12.8
//solving
v1=-3.6  //m/sec
v2=12.8-(-v1)  //m/sec
printf("\nv1=%.2f m/sec\nv2=%.2f m/sec",v1,v2)