blob: 626108ed0eb27972d4d7793bd9c7d4dd6124c0fb (
plain)
1
2
3
4
5
6
7
8
9
10
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)
|