diff options
Diffstat (limited to '1970/CH1/EX1.8')
-rwxr-xr-x | 1970/CH1/EX1.8/Ch01Exa8.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1970/CH1/EX1.8/Ch01Exa8.sce b/1970/CH1/EX1.8/Ch01Exa8.sce new file mode 100755 index 000000000..e60fe59b9 --- /dev/null +++ b/1970/CH1/EX1.8/Ch01Exa8.sce @@ -0,0 +1,10 @@ +// Scilab code Exa1.8 : : Page 53 (2011)
+clc; clear;
+a = 17.78e-03; // First doublet mass difference, u
+b = 72.97e-03; // Second doublet mass difference, u
+c = 87.33e-03; // Third doublet mass difference, u
+M_H = 1+1/32*(4*a+5*b-2*c); // Mass of the hydrogen,amu
+printf("\nMass of the hydrogen: %8.6f amu",M_H);
+
+// Result
+// Mass of the hydrogen: 1.008166 amu
|