blob: d42f02a6426ac11b3239e48cd2378131b154d0b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc
//given that
r = 0.5 // radius of hydrogen atom in angstrom
m_e = 9.1e-31 // mass of electron in kg
h = 6.63e-34 // Plank constant
printf("Example 2.8")
h_bar = h / (2*%pi) // constant
del_x = 2*r // calculation of uncertainty in position
del_p = h_bar/(2*del_x*1e-10) // calculation of uncertainty in momentum
p = del_p
E = p^2/(2*m_e*1.6e-19)// Calculation of energy in eV
printf("\n Kinetic energy needed by an electron to be \n confined in electron is %f eV.\n\n\n",ceil(E*100)/100)
|