From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 896/CH7/EX7.2/2.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 896/CH7/EX7.2/2.sce (limited to '896/CH7/EX7.2') diff --git a/896/CH7/EX7.2/2.sce b/896/CH7/EX7.2/2.sce new file mode 100755 index 000000000..07c91df3d --- /dev/null +++ b/896/CH7/EX7.2/2.sce @@ -0,0 +1,10 @@ +clc +//Example 7.2 +//Calulate the final velocity of duck after being hit by a bullet +m_duck=3//lbm +v_duck=-15//ft/s due west +m_bullet=0.05//lbm +v_bullet=1000//ft/s due east +//total initial momentum = final momentum +v_sys=((m_duck*v_duck)+(m_bullet*v_bullet))/(m_duck+m_bullet)//ft/s +printf("The final velocity of the duck is %f ft/s",v_sys); \ No newline at end of file -- cgit