summaryrefslogtreecommitdiff
path: root/3204/CH18/EX18.7
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3204/CH18/EX18.7
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3204/CH18/EX18.7')
-rw-r--r--3204/CH18/EX18.7/Ex18_7.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3204/CH18/EX18.7/Ex18_7.sce b/3204/CH18/EX18.7/Ex18_7.sce
new file mode 100644
index 000000000..974032950
--- /dev/null
+++ b/3204/CH18/EX18.7/Ex18_7.sce
@@ -0,0 +1,9 @@
+// Initilization of variables
+theta_a=60 // degree // angle made by sphere A with the verticle
+e=1 // coefficient of restitution for elastic impact
+// Calculations
+// theta_b is given by the eq'n cosd*theta_b=0.875, hence theta_b is,
+theta_b=acosd(0.875) // degree
+// Results
+clc
+printf('The angle through which the sphere B will swing after the impact is %f degree \n',theta_b)