summaryrefslogtreecommitdiff
path: root/3014/CH2/EX2.20/Ex2_20.sce
blob: ef85f594ba5d3b54c72fae0c90a38155f3dc6c2a (plain)
1
2
3
4
5
6
7
8
9
10
11
clc 
//given that
del_v = 5.5e-20 // Uncertainty in velocity in m/s
h = 6.63e-34 // Plank constant
m = 1 // mass of dust particle in mg
printf("Example 2.20")
h_bar = h / (2*%pi) // constant
del_x = h_bar/(2*del_v*m*1e-6) // Calculation of uncertainty in momentum
printf("\n Uncertainty in position of ball is %f angstrom.\n\n\n",del_x*1e10)
// Answer in book is 9.6 angstrom