summaryrefslogtreecommitdiff
path: root/1694/CH3/EX3.20/EX3_20.sce
diff options
context:
space:
mode:
Diffstat (limited to '1694/CH3/EX3.20/EX3_20.sce')
-rw-r--r--1694/CH3/EX3.20/EX3_20.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1694/CH3/EX3.20/EX3_20.sce b/1694/CH3/EX3.20/EX3_20.sce
new file mode 100644
index 000000000..fb700dcea
--- /dev/null
+++ b/1694/CH3/EX3.20/EX3_20.sce
@@ -0,0 +1,18 @@
+clear;
+clc;
+printf("\nEx3.20\n");
+//page no.-135
+//given
+a=10^-10;........//width of box in m
+h=6.625*10^-34;....//planck's constant in J-s
+m=9.1*10^-31;......//mass of electron in kg
+n=2;..............//quantum no.
+e=1.6*10^-19;.....//charge
+
+p=n*h/2*a.........//momentum in Kg*m/s
+
+printf("\nmomentum is 6.625*10^-24 Kg*m/s\n");
+
+E=(n^2*h^2)/(8*m*a^2*e).....//energy in eV
+
+printf("\nenergy is 150.8 eV\n");