summaryrefslogtreecommitdiff
path: root/1004/CH2/EX2.17
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1004/CH2/EX2.17
downloadScilab-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.17')
-rwxr-xr-x1004/CH2/EX2.17/Ch02Ex17.sci11
1 files changed, 11 insertions, 0 deletions
diff --git a/1004/CH2/EX2.17/Ch02Ex17.sci b/1004/CH2/EX2.17/Ch02Ex17.sci
new file mode 100755
index 000000000..e957c56fd
--- /dev/null
+++ b/1004/CH2/EX2.17/Ch02Ex17.sci
@@ -0,0 +1,11 @@
+// Scilab Code Ex2.17 First excitation energy of hydrogen atom: Pg: 58 (2008)s
+n1 = 1; // Principle quantum number of first orbit in H-atom
+n2 = 2; // Principle quantum number of second orbit in H-atom
+m = 9.1e-031; // Mass of the electron, C
+e = 1.6e-019; // Charge on an electron, coulomb
+h = 6.624e-034; // Planck's Constant, Js
+epsilon_0 = 8.85e-012; // Absolute electrical permittivity of free space, coulomb square per newton per metre square
+U = m*e^4/(8*epsilon_0^2*h^2)*(1/n1^2 - 1/n2^2); // First excitation energy of hydrogen atom, J
+printf("\nThe first excitation energy of hydrogen atom = %5.2f eV", U/e);
+// Result
+// The first excitation energy of hydrogen atom = 10.17 eV \ No newline at end of file