summaryrefslogtreecommitdiff
path: root/1004/CH2/EX2.22/Ch02Ex22.sci
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1004/CH2/EX2.22/Ch02Ex22.sci
downloadScilab-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-x1004/CH2/EX2.22/Ch02Ex22.sci13
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