summaryrefslogtreecommitdiff
path: root/710/CH10/EX10.4/10_4.sci
blob: 463cc9bbed939ef28f749a323a424f9914982f0e (plain)
1
2
3
4
5
6
7
8
9
10
clc();
clear;
//To determine the uncertainity in determining the position of this electron
m=9.1*10^-31;                         //mass of electron
v=6*10^3;                             //speed of electron
p=m*v;                                //uncertainity in momentum in kg.m/s
h=6.626*10^-34;                       //plancks constant
deltap=0.00005*p;                     //uncertainity in p is 0.00005 of p
deltax=(h/(4*%pi*deltap))*10^3       //uncertainity in position
printf("The uncertainity in position is %f mm",deltax);