diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1004/CH2/EX2.23 | |
download | Scilab-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.23')
-rwxr-xr-x | 1004/CH2/EX2.23/Ch02Ex23.sci | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1004/CH2/EX2.23/Ch02Ex23.sci b/1004/CH2/EX2.23/Ch02Ex23.sci new file mode 100755 index 000000000..b131f7ad2 --- /dev/null +++ b/1004/CH2/EX2.23/Ch02Ex23.sci @@ -0,0 +1,12 @@ +// Scilab Code Ex2.23 Wavelength of emitted light: Pg:60 (2008)
+e = 1.6e-019; // Charge on an electron, coulomb
+h = 6.624e-034; // Planck's Constant, Js
+n = 2; // Principal quantum number for second orbit in H-atom
+V = 13.6; // Ionization potential of H-atom, V
+U1 = -1*V*e; // Energy of electron in first orbit, J
+U2 = U1/n^2; // Energy of electron in second orbit, J
+// As U2 - U1 = h*c/L, solving for L
+L = h*c/(U2 - U1); // Wavelength of light emitted in the transition from second orbit to the first orbit, m
+printf("\nThe wavelength of light emitted in the transition from second orbit to the first orbit = %4d angstrom", L/1e-010);
+// Result
+// The wavelength of light emitted in the transition from second orbit to the first orbit = 1217 angstrom
\ No newline at end of file |