summaryrefslogtreecommitdiff
path: root/3850/CH46/EX46.3/Ex46_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3850/CH46/EX46.3/Ex46_3.sce')
-rw-r--r--3850/CH46/EX46.3/Ex46_3.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3850/CH46/EX46.3/Ex46_3.sce b/3850/CH46/EX46.3/Ex46_3.sce
new file mode 100644
index 000000000..2533c24ba
--- /dev/null
+++ b/3850/CH46/EX46.3/Ex46_3.sce
@@ -0,0 +1,17 @@
+
+//To calculate the mass excess of Hydrogen
+//Example 46.3
+
+clear;
+
+clc;
+
+u=931;//1 Atomic Mass Unit in MeV/c^2
+
+m=1.00783;//Mass of Hydrogen atom in atomic mass unit
+
+A=1.0;//Atomic Mass of Hydrogen atom in atomic mass unit
+
+Me=u*(m-A);//Mass excess of Hydrogen
+
+printf("The mass excess of Hydrogen = %.2f MeV",Me);