blob: 23d34d8073f19d4cf215ba47092eb6e473f7da31 (
plain)
1
2
3
4
5
6
7
8
|
//Example 6_4
clc();
clear;
//To find the recoil velocity of the gun vgf
//As we know that Momentum before = Momentum after
//((m*vb0)+(M*vg0))=((m*vbf)+(M*vgf))
// As vb0=vg0=0
printf("The recoil velocity of the gun is Vgf=-(m/M)*Vbf")
|