summaryrefslogtreecommitdiff
path: root/3886/CH18/EX18.5
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3886/CH18/EX18.5
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.gz
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.bz2
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.zip
Added new codeHEADmaster
Diffstat (limited to '3886/CH18/EX18.5')
-rw-r--r--3886/CH18/EX18.5/18_5.sce22
-rw-r--r--3886/CH18/EX18.5/18_5.txt7
2 files changed, 29 insertions, 0 deletions
diff --git a/3886/CH18/EX18.5/18_5.sce b/3886/CH18/EX18.5/18_5.sce
new file mode 100644
index 000000000..c7f2d06c1
--- /dev/null
+++ b/3886/CH18/EX18.5/18_5.sce
@@ -0,0 +1,22 @@
+//Ball in frictionless tube
+//refer fif. 18.4
+u1=sqrt(2*9.81*2) //m/sec
+u2=0
+//By principle of conservation of momentum
+//v1+2*v2=6.264
+//From defination of coefficient of restitution
+//case(1)-e=1
+//v2-v1=6.264
+//solving
+v2=4.176 //m/sec
+v1=6.264-(2*4.176) //m/sec
+//Let h be the height to which hanging ball will rise
+//Change in K.E=Work Done
+h=(v2^2)/(2*9.81) //m
+//case(2)- e=0.7
+//v2-v1=4.385
+//solving
+bv2=(6.264+4.385)/(3) //m/sec
+//Height to which ball will rise
+h2=(bv2^2)/(2*9.81) //m
+printf("\nCase(1)-\nh=%.4f m\nCase(2)-\nh2=%.4f m ",h,h2)
diff --git a/3886/CH18/EX18.5/18_5.txt b/3886/CH18/EX18.5/18_5.txt
new file mode 100644
index 000000000..0c940a833
--- /dev/null
+++ b/3886/CH18/EX18.5/18_5.txt
@@ -0,0 +1,7 @@
+
+--> exec('E:\My program EM\18. Impact of elastic bodies\18.5.sce', -1)
+
+Case(1)-
+h=0.8888 m
+Case(2)-
+h2=0.6422 m \ No newline at end of file