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 --- 3204/CH18/EX18.3/Ex18_3.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 3204/CH18/EX18.3/Ex18_3.sce (limited to '3204/CH18/EX18.3') diff --git a/3204/CH18/EX18.3/Ex18_3.sce b/3204/CH18/EX18.3/Ex18_3.sce new file mode 100644 index 000000000..34b3f2212 --- /dev/null +++ b/3204/CH18/EX18.3/Ex18_3.sce @@ -0,0 +1,13 @@ +// Initilization of variables +h_1=9 // m // height of first bounce +h_2=6 // m // height of second bounce +// Calculations +// From eq'n (5) we have, Coefficient of restitution between the glass and the floor is, +e=sqrt(h_2/h_1) +// From eq'n 3 we get height of drop as, +h=h_1/e^2 // m +// Results +clc +printf('The ball was dropped from a height of %f m \n',h) +printf('The coefficient of restitution between the glass and the floor is %f \n',e) +// Here we use h`=h_1 & h``=h_2 because h` & h`` could not be defined in Scilab. -- cgit