summaryrefslogtreecommitdiff
path: root/2258/CH1/EX1.8/1_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '2258/CH1/EX1.8/1_8.sce')
-rwxr-xr-x2258/CH1/EX1.8/1_8.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2258/CH1/EX1.8/1_8.sce b/2258/CH1/EX1.8/1_8.sce
new file mode 100755
index 000000000..c8eacb32a
--- /dev/null
+++ b/2258/CH1/EX1.8/1_8.sce
@@ -0,0 +1,12 @@
+clc();
+clear;
+// To calculate the minimum energy of electron
+n=1; //for minimum energy
+h=6.626*10^(-34);
+m=9.1*10^-31; //mass in kg
+L=4*10^-10; //size in m
+E1=(n*h^2)/(8*m*L^2); //energy in j
+printf("lowest energy of electron in Joule is");
+disp(E1);
+
+//answer given in the book is wrong