summaryrefslogtreecommitdiff
path: root/3492/CH3/EX3.15
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3492/CH3/EX3.15
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 '3492/CH3/EX3.15')
-rw-r--r--3492/CH3/EX3.15/Ex3_15.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3492/CH3/EX3.15/Ex3_15.sce b/3492/CH3/EX3.15/Ex3_15.sce
new file mode 100644
index 000000000..4cca773e1
--- /dev/null
+++ b/3492/CH3/EX3.15/Ex3_15.sce
@@ -0,0 +1,18 @@
+clc
+//Chapter3
+//Ex_15
+//Given
+Z=1
+n1=2
+n2=3
+R_inf=1.0974*10^7 // in m^-1
+//Let x=1/lambda
+x=R_inf*Z^2*((1/n1^2)-(1/n2^2))
+lambda=1/x
+disp(lambda*10^10, "Wavelength of first spectral line in Angstroms is")
+n1=2
+n2=4
+x=R_inf*Z^2*((1/n1^2)-(1/n2^2))
+lambda=1/x
+disp(lambda*10^10, "Wavelength of second spectral line in Angstroms is")
+disp("These spectral lines correspond to H_alpha and H_beta lines of Hydrogen")