summaryrefslogtreecommitdiff
path: root/1784/CH45/EX45.2/example_2.sce
blob: cb3198b834a9cb69d358fd288ce89c2ea88edddf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//chapter 45
//example 2
//given
//clc()
m=1
lambda=5890//in A
d=25400//in A
theta=asind((m*lambda)/d)
disp("solution (a)")
disp(theta,"The first order diffraction pattern in degree=")
disp("solution (b)")
//given
del_lambda=5.9//in A
delta_theta=(m*(del_lambda))/(d*cosd(theta))
disp(delta_theta,"Angle of seperation in degree=")