summaryrefslogtreecommitdiff
path: root/3856/CH14/EX14.3
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3856/CH14/EX14.3
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3856/CH14/EX14.3')
-rw-r--r--3856/CH14/EX14.3/Ex14_3.sce21
-rw-r--r--3856/CH14/EX14.3/Ex14_3.txt1
2 files changed, 22 insertions, 0 deletions
diff --git a/3856/CH14/EX14.3/Ex14_3.sce b/3856/CH14/EX14.3/Ex14_3.sce
new file mode 100644
index 000000000..b164ed243
--- /dev/null
+++ b/3856/CH14/EX14.3/Ex14_3.sce
@@ -0,0 +1,21 @@
+//Calculate the Wavelength in nanometer for transition in Hydrogen atom
+
+//Example 14.3
+
+clc;
+
+clear;
+
+nf=2; //Quantum number for emmision process (n=4 to 2)
+
+ni=4; //Quantum number for emmision process (n=4 to 20)
+
+RH=109737; //Rydberg constant in cm^-1
+
+new=RH*abs((1/ni^2)-(1/nf^2)); //Frequency in cm^-1
+
+Lemda1=1/new; //Wavelength in cm
+
+Lemda=Lemda1*10^7 //Wavelength in nm
+
+printf("Wavelength = %.0f nm",Lemda);
diff --git a/3856/CH14/EX14.3/Ex14_3.txt b/3856/CH14/EX14.3/Ex14_3.txt
new file mode 100644
index 000000000..437b4d625
--- /dev/null
+++ b/3856/CH14/EX14.3/Ex14_3.txt
@@ -0,0 +1 @@
+ Wavelength = 486 nm \ No newline at end of file