summaryrefslogtreecommitdiff
path: root/3755/CH6/EX6.19/Ex6_19.sce
blob: 1f07e62a98a7fb9268ec98bb676d3b90da016bc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clear
//
//
//

//Variable declaration    
h=6.6*10^-34;        //planck's constant(J-sec)
m=9.1*10^-31;    //mass of electron(kg)
v=600;     //speed(m/sec)
a=0.005/100;     //accuracy(%)

//Calculations
deltav=v*a;       //uncertainity in speed(kg m/sec)
delta_px=m*deltav;       //uncertainity in momentum(kg m/sec)
deltax=h/delta_px;       //uncertainity in position of electron(m)

//Result
printf("\n uncertainity in position of electron is %0.5f m",deltax)
printf("\n answer in the book is wrong")