diff options
Diffstat (limited to '3204/CH18/EX18.10')
-rw-r--r-- | 3204/CH18/EX18.10/Ex18_10.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3204/CH18/EX18.10/Ex18_10.sce b/3204/CH18/EX18.10/Ex18_10.sce new file mode 100644 index 000000000..3145a54b5 --- /dev/null +++ b/3204/CH18/EX18.10/Ex18_10.sce @@ -0,0 +1,17 @@ +// Initilization of variables
+v_a=600 // m/s // velocity of the bullet before impact
+v_b=0 // m/s // velocity of the block before impact
+w_b=0.25 // N // weight of the bullet
+w_wb=50 // N // weight of wodden block
+mu=0.5 // coefficient of friction between the floor and the block
+g=9.81 // m/s^2 // acc due to gravity
+// Calculations
+m_a=w_b/g // kg // mass of the bullet
+m_b=w_wb/g // kg // mass of the block
+// Let the common velocity be v_c which is given by eq'n (Principle of conservation of momentum)
+v_c=(w_b*v_a)/(w_wb+w_b) // m/s
+// Let the distance through which the block is displaced be s, Then s is given by eq'n
+s=v_c^2/(2*g*mu) // m
+// Results
+clc
+printf('The distance through which the block is displaced from its initial position is %f m \n',s)
|