summaryrefslogtreecommitdiff
path: root/2453/CH3/EX3.9
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2453/CH3/EX3.9
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 '2453/CH3/EX3.9')
-rwxr-xr-x2453/CH3/EX3.9/3_9.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2453/CH3/EX3.9/3_9.sce b/2453/CH3/EX3.9/3_9.sce
new file mode 100755
index 000000000..2218264a9
--- /dev/null
+++ b/2453/CH3/EX3.9/3_9.sce
@@ -0,0 +1,10 @@
+//To calculate the minimum energy
+n = 1; //for minimum energy
+h = 6.626*10^-34; //planck's constant, J sec
+m = 9.1*10^-31; //mass of electron, kg
+L = 4*10^-10; //side of box, m
+E1 = h^2*n^2/(8*m*L^2); //lowest energy, J
+printf("energy of electron in J is");
+disp(E1);
+
+//answer given in the book is wrong