summaryrefslogtreecommitdiff
path: root/3363/CH15/EX15.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3363/CH15/EX15.4
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 '3363/CH15/EX15.4')
-rwxr-xr-x3363/CH15/EX15.4/Ex15_4.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3363/CH15/EX15.4/Ex15_4.sce b/3363/CH15/EX15.4/Ex15_4.sce
new file mode 100755
index 000000000..6aa45efd3
--- /dev/null
+++ b/3363/CH15/EX15.4/Ex15_4.sce
@@ -0,0 +1,13 @@
+//Example 15.4, Page 540
+clc
+kb=4.44//in Mev
+ka=7.70//in Mev
+mb=1
+mB=17
+ma=4
+Q=(kb*(1+(mb/mB)))-(ka*(1-(ma/mB)))
+disp('Part a')
+printf("\n The value of Q is %f Mev",Q)
+c=3*10^8//m/s
+m=Q/(931.5)
+printf("\n The atomic mass of Q is %e u",m) \ No newline at end of file