summaryrefslogtreecommitdiff
path: root/3020/CH14/EX14.10
diff options
context:
space:
mode:
Diffstat (limited to '3020/CH14/EX14.10')
-rwxr-xr-x3020/CH14/EX14.10/ex14_10.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3020/CH14/EX14.10/ex14_10.sce b/3020/CH14/EX14.10/ex14_10.sce
new file mode 100755
index 000000000..b99ef4bb6
--- /dev/null
+++ b/3020/CH14/EX14.10/ex14_10.sce
@@ -0,0 +1,10 @@
+clc;
+clear all;
+h = 6.626e-34; // Planck's constant
+m = 9.11e-31; // Mass of an electron in Kg
+e = 1.6e-19; // Charge of an electron
+L = 4e-9 ; // Length of one dimensional potential well in meters
+n = 1; // For ground state
+E = (n^2*h^2)/(8*m*L^2*e);
+disp('eV',E,'The energy of the electron in ground state is')
+// Wrong answer given in textbook.. checked in calculator