summaryrefslogtreecommitdiff
path: root/1004/CH3/EX3.24/Ch03Ex24.sci
blob: 77b03a026c91fe7128180cf9327e225f26c9ee6e (plain)
1
2
3
4
5
6
7
8
9
10
// Scilab code: Ex3.24 : Unertainity in the position of an electron:Pg: 94 (2008)
m = 9.1e-31;    // Mass of an electron, kg
v = 300;    // Speed of electron, m/s
h_bar = 6.6e-034;    // Reduced Plancks constant, joule second
p = m*v;    // Momentum of electron, kgm/s
del_p = 1e-04*p;    // Minimum uncertainity in momentum, kgm/s
del_x = h_bar/(4*%pi*del_p);    // Uncertainity in position, m
printf("\nThe uncertainity in the position of the electron = %5.3f mm", del_x/1e-03);
// Result
//  The uncertainity in the position of the electron = 1.924 mm