summaryrefslogtreecommitdiff
path: root/3875/CH12/EX12.4/Ex12_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3875/CH12/EX12.4/Ex12_4.sce')
-rw-r--r--3875/CH12/EX12.4/Ex12_4.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3875/CH12/EX12.4/Ex12_4.sce b/3875/CH12/EX12.4/Ex12_4.sce
new file mode 100644
index 000000000..626108ed0
--- /dev/null
+++ b/3875/CH12/EX12.4/Ex12_4.sce
@@ -0,0 +1,11 @@
+clc;
+clear;
+L=0.5*10^-9 //width in m
+m=9.1*10^-31 //mass in kg
+V_0=15*1.6*10^-19 //height of the potential well in J
+h=6.63*10^-34 //Plancks constant in J-s
+
+//calculation
+n_max=(4*L*sqrt(m*V_0))/h
+
+mprintf("The maximum quantum number possible is %d",n_max)