summaryrefslogtreecommitdiff
path: root/2912/CH5/EX5.20/Ex5_20.sce
blob: 09f616072e44d1dbb3ee474a9de48e0b986a0b23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//chapter 5
//example 5.20
//Compare minimum uncertainty in the frequency of the photon 
//page 111
clear;
clc;
//given
dt=1E-8; // in sec (average life time)
pi=3.14; // value of pi used in the solution
//calculate
// Since dE*dt>=h/(4*pi)  (uncertainty relation for energy)
// and E=h*v      v is the frequency
// therefore we have dv>=1/(4*pi*dt)
dv=1/(4*pi*dt); // calculation of minimum uncertainty in the frequency
printf('\nThe minimum uncertainty in the frequency of the photon is \tdv=%1.1E sec^-1',dv);