summaryrefslogtreecommitdiff
path: root/1172/CH3/EX3.16.1/Example3_16a.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1172/CH3/EX3.16.1/Example3_16a.sce
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 '1172/CH3/EX3.16.1/Example3_16a.sce')
-rwxr-xr-x1172/CH3/EX3.16.1/Example3_16a.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1172/CH3/EX3.16.1/Example3_16a.sce b/1172/CH3/EX3.16.1/Example3_16a.sce
new file mode 100755
index 000000000..93ba623b5
--- /dev/null
+++ b/1172/CH3/EX3.16.1/Example3_16a.sce
@@ -0,0 +1,11 @@
+clc
+//Given that
+R = 1.097 // Rydberg’s constant
+n1 = 1 // transition state no
+n2 = 2 // transition state no
+//Sample Problem 16a page No. 142
+printf("\n\n\n # Problem 16a # \n")
+printf ("\n Standard formula Used \n For Lyman series 1/lambda = R*((1/2) ^2 - (1/n) ^2)")
+nu1 = R * (n2^2 - n1^2) / (n1^2 * n2^2) //calculation of frequency of first line of Lyman series
+lambda1 = 1/ nu1//calculation of Wavelength of first line of Lyman series
+printf ("\n Wavelength of first line of Lyman series is %f Angstrom. ", lambda1 *1000)