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 /1004/CH2/EX2.26 | |
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 '1004/CH2/EX2.26')
-rwxr-xr-x | 1004/CH2/EX2.26/Ch02Ex26.sci | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1004/CH2/EX2.26/Ch02Ex26.sci b/1004/CH2/EX2.26/Ch02Ex26.sci new file mode 100755 index 000000000..654c48aac --- /dev/null +++ b/1004/CH2/EX2.26/Ch02Ex26.sci @@ -0,0 +1,13 @@ +// Scilab Code Ex2.26 Difference in wavelength in the spectra of hydrogen and deuterium: Pg:62 (2008)
+R_H = 1.097e+07; // Rydberg constant for H-atom, per metre
+M_H = 1; // Mass of H-atom, amu
+M_D = 2*M_H; // Mass of D-atom, amu
+m = 0.000549*M_H; // Mass of an electron, amu
+R_D = R_H*(1+m/M_H)/(1+m/M_D); // Rydberg constant for D-atom, per metre
+n1 = 2, n2 = 3; // Principal qunatum numbers for first line of Balmer series
+L_H = 1/(R_H*(1/n1^2 - 1/n2^2)); // Wavelength of H-atom, m
+L_D = 1/(R_D*(1/n1^2 - 1/n2^2)); // Wavelength of D-atom, m
+delta_H = (L_H - L_D)/1e-010; // Difference in wavelength in the spectra of hydrogen and deuterium, angstrom
+printf("\nThe difference in wavelength in the spectra of hydrogen and deuterium = %3.1f angstrom", delta_H);
+// Result
+// The difference in wavelength in the spectra of hydrogen and deuterium = 1.8 angstrom
\ No newline at end of file |