summaryrefslogtreecommitdiff
path: root/767/CH1/EX1.5.6/Ch1Exa1_5_6.sci
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /767/CH1/EX1.5.6/Ch1Exa1_5_6.sci
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 '767/CH1/EX1.5.6/Ch1Exa1_5_6.sci')
-rwxr-xr-x767/CH1/EX1.5.6/Ch1Exa1_5_6.sci13
1 files changed, 13 insertions, 0 deletions
diff --git a/767/CH1/EX1.5.6/Ch1Exa1_5_6.sci b/767/CH1/EX1.5.6/Ch1Exa1_5_6.sci
new file mode 100755
index 000000000..0734fd3ba
--- /dev/null
+++ b/767/CH1/EX1.5.6/Ch1Exa1_5_6.sci
@@ -0,0 +1,13 @@
+// Scilab code Exa1.5.6 : To calculate binding energy per nucleon of He-4 nucleus : Page 38 (2011)
+m_p = 1.007825; // Mass of proton, amu
+m_n = 1.008665; // Mass of neutron, amu
+m_He = 4.002634; // Mass of He-4 nucleus, amu
+amu = 931.47; // Atomic mass unit, MeV
+A = 4, // Mass number of He-4 nucleus
+BE = [2*m_p+2*m_n-m_He]*amu; // Binding energy of He-4 nucleus, MeV
+Av_BE = BE/A; // Average binding energy or binding energy per nucleon, MeV
+printf("\nThe binding energy per nucleon : %4.2f MeV", Av_BE);
+
+// Result
+// The binding energy per nucleon of He-4 is
+// The binding energy per nucleon : 7.07 MeV \ No newline at end of file