summaryrefslogtreecommitdiff
path: root/3535/CH4/EX4.2/Ex4_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3535/CH4/EX4.2/Ex4_2.sce')
-rw-r--r--3535/CH4/EX4.2/Ex4_2.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3535/CH4/EX4.2/Ex4_2.sce b/3535/CH4/EX4.2/Ex4_2.sce
new file mode 100644
index 000000000..bbeb86040
--- /dev/null
+++ b/3535/CH4/EX4.2/Ex4_2.sce
@@ -0,0 +1,11 @@
+//Chapter 4, Example 4.2, Page 89
+clc
+clear
+//Binding energy
+O15 = 15.0030654 // atomic mass of O15 isotope
+mn = 1.00866492
+O16 = 15.9949146 // atomic mass of O16 isotope
+c2 = 931.5 // C^2 in MeV
+S = (O15+mn-O16)*c2
+printf("\n Binding energy = %f MeV",S);
+//Answer may vary due to round off error