summaryrefslogtreecommitdiff
path: root/3886/CH18/EX18.6/18_6.sce
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.6/18_6.sce
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3886/CH18/EX18.6/18_6.sce')
-rw-r--r--3886/CH18/EX18.6/18_6.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3886/CH18/EX18.6/18_6.sce b/3886/CH18/EX18.6/18_6.sce
new file mode 100644
index 000000000..ddd12ae7e
--- /dev/null
+++ b/3886/CH18/EX18.6/18_6.sce
@@ -0,0 +1,21 @@
+//Two identical balls
+//refer fig. 18.5 and 18.6 (a) and (b)
+//Before impact
+uAY=4.5 //m/sec
+uAX=7.794 //m/sec
+uBY=10.392 //m/sec
+uBX=-6 //m/sec
+vAY=uAY //m/sec
+vBY=uBY //m/sec
+//Applying principle of conservation of momentum
+//vAX+vBX=1.794
+//From defination of coefficient of restitution
+//vBX-vAX=12.415
+//Solving
+vBX=(12.415+1.794)/(2) //m/sec
+vAX=1.794-7.104 //m/sec
+vA=sqrt((5.31^2)+(4.5^2)) //m/sec
+thetaA=atand(4.5/5.31) //degree
+vB=sqrt((7.104^2)+(10.392^2)) //m/sec
+thetaB=atand(10.392/7.104) //degree
+printf("\nvA=%.3f m/sec\nthetaA=%.3f degree\nvB=%.3f m/sec\nthetaB=%.3f degree",vA,thetaA,vB,thetaB)