From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1970/CH1/EX1.8/Ch01Exa8.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 1970/CH1/EX1.8/Ch01Exa8.sce (limited to '1970/CH1/EX1.8') 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 -- cgit