summaryrefslogtreecommitdiff
path: root/1694/CH3/EX3.5/EX3_5.sce
blob: 6766bea209ea4701d4ba2dd2bf7e9f090d4cc7e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clear;
clc;
printf("\nEx3.5\n");
//page no.-122
//given
h=6.63*10^-34;........//planck's constant in Js
m=9.11*10^-31;........//mass of electron in kg
l=2.5*10^-10;............//width of box in m
n1=2;...................//quantum no. for second lowest state
n2=3;...................//quantum no. for third lowest state
e=1.6*10^19;...........//charge

E1=(h^2)/(8*m*l^2*e)..........//first lowest quantum energy

E2=(n1^2)*E1.............//second lowest quantum energy

E3=(n2^2)*E1............//third lowest quantum energy

printf("\nlowest permissible quantum energies are 6 eV,24 eV, 54 eV\n");