summaryrefslogtreecommitdiff
path: root/1694/CH3/EX3.20/EX3_20.sce
blob: fb700dcea585cd22d7e5e77217532647840498c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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");