diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1970/CH1/EX1.8 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
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
|