summaryrefslogtreecommitdiff
path: root/1694/CH3/EX3.7/EX3_7.sce
blob: 491eafeec471bbc90d5933c7b07e35e948d4e0df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clear;
clc;
printf("\nEx3.7\n");
//page no.-123
//given
l=10^-14;.......//width of box in m
m=1.67*10^-27;...//proton mass in kg
h=1.05*10^-34;....//plkanck's constant in J-s

E1=(%pi^2*h^2)/(2*m*l^2)...........//energy of ground state in joule

E2=(4*%pi^2*h^2)/(2*m*l^2)........//energy of first excited state in joule

E=E2-E1.............//energy released in joule
//to convert into eV divide by 1.6*10^-19
printf("\nenergy released during transition is 6.2 MeV\n");