summaryrefslogtreecommitdiff
path: root/3363/CH3/EX3.5/Ex3_5.sce
blob: 427e60de17300da4933e1bbfc5e0a4318c1a5ec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Example 3.5, page no 94
clc
disp('part b')
lambda=5890*10^-8//in cm
c=3*10^10//in cm/s
v=c/lambda
del_v=8*10^6//per s
x=del_v/v
h=4.14*10^-15//in ev-sec
printf("\n Fractional width of either line(del_v/v) %e  ",x)
//Calculate uncertainty
disp('part c')
del_t=10^-8
del_e=(h)/(4*%pi*del_t)
printf("\n Uncertainty is %e ev ",del_e)