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.22/Ch02Ex22.sci | |
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.22/Ch02Ex22.sci')
-rwxr-xr-x | 1004/CH2/EX2.22/Ch02Ex22.sci | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1004/CH2/EX2.22/Ch02Ex22.sci b/1004/CH2/EX2.22/Ch02Ex22.sci new file mode 100755 index 000000000..5232b251f --- /dev/null +++ b/1004/CH2/EX2.22/Ch02Ex22.sci @@ -0,0 +1,13 @@ +// Scilab Code Ex2.22 Wavelength of second number of Balmer series of hydrogen: Pg:60 (2008)
+n1 = 2; // Principle quantum number of second orbit in H-atom
+n2 = 3; // Principle quantum number of third orbit in H-atom
+R = 1.097e+07; // Rydberg constant, per metre
+L1 = 1/((1/n1^2 - 1/n2^2)*R); // Wavelength of first Balmer line, m
+n2 = 4; // Principle quantum number of third orbit in H-atom
+L2 = 1/((1/n1^2 - 1/n2^2)*R); // Wavelength of second Balmer line, m
+L_ratio = L2/L1; // Wavelength ratio of second and first line of Balmer series
+L1 = 6563e-010; // Given wavelength of first line of Balmer series, m
+L2 = L_ratio*L1; // Wavelength of second Balmer line, m
+printf("\nThe wavelength of second Balmer line = %4e m", L2);
+// Result
+// The wavelength of second Balmer line = 4.861481e-007 m
\ No newline at end of file |