summaryrefslogtreecommitdiff
path: root/3856/CH14/EX14.3
diff options
context:
space:
mode:
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