summaryrefslogtreecommitdiff
path: root/3014/CH2/EX2.18/Ex2_18.sce
blob: a8a499c0dcac883ed953e32b6661bc3cbf654dd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc 
//given that
del_t = 2e-12 // lifetime of exited state in  sec
h = 6.63e-34 // Plank constant
printf("Example 2.18")
h_bar = h / (2*%pi) // constant
del_E = h_bar/(1.6e-19*2*del_t) // calculation of uncertainty in momentum
printf("\n Minimum error in measurement of energy of this state is %e eV.\n\n\n",del_E)
// Answer in book is 1.65e-4 eV