From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1004/CH2/EX2.23/Ch02Ex23.sci | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 1004/CH2/EX2.23/Ch02Ex23.sci (limited to '1004/CH2/EX2.23') 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 -- cgit