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.28/Ch02Ex28.sci | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 1004/CH2/EX2.28/Ch02Ex28.sci (limited to '1004/CH2/EX2.28/Ch02Ex28.sci') diff --git a/1004/CH2/EX2.28/Ch02Ex28.sci b/1004/CH2/EX2.28/Ch02Ex28.sci new file mode 100755 index 000000000..1dc7b7c45 --- /dev/null +++ b/1004/CH2/EX2.28/Ch02Ex28.sci @@ -0,0 +1,17 @@ +// Scilab Code Ex2.28 Photon emitted by hydrogen atom: Pg:64 (2008) +e = 1.6e-019; // Energy equivalent of 1 eV, joule/eV +h = 6.624e-034; // Planck's constant, Js +c = 3e+08; // Speed of light, m/s +E1 = -13.6; // Energy of electron in the first orbit of hydrogen atom, eV +n = 2; // Principal quantum number for second orbit +E2 = E1/n^2; // Energy of electron in the second orbit of hydrogen atom, eV +E = (E2 - E1)*e; // Energy of photon emitted, joule +P = E/c; // Momentum of photon, kg-m/s +L = (h/P)/1e-010; // de_Broglie wavelength of photon, angstrom +printf("\nThe energy of photon emitted by hydrogen atom %5.2e J", E); +printf("\nThe momentum of photon = %4.2e kg-m/s", P); +printf("\nThe de_Broglie wavelength of photon = %4d angstrom", L); +// Result +// The energy of photon emitted by hydrogen atom 1.63e-018 J +// The momentum of photon = 5.44e-027 kg-m/s +// The de_Broglie wavelength of photon = 1217 angstrom \ No newline at end of file -- cgit