summaryrefslogtreecommitdiff
path: root/2780/CH3/EX3.23/Ex3_23.sce
blob: 9100eabea3c34fd878f5de2f7068d43fbcbfbf82 (plain)
1
2
3
4
5
6
7
8
9
10
clc
//to calculate dispersive power 
//differentiate grating equation ,we get dtheta/dlambda=n/((e+d)*costheta)
n=2 //order 
eplusd=1/4000
lambda=5000*10^-8 //wavelength in cm
sintheta=n*lambda/(eplusd)
costheta=sqrt(1-(sintheta)^2)
dtheta=n/((eplusd)*costheta)   //where dispersive power dtheta/dlambda=dtheta
disp("dispersive power of he grating in the second order spectrum is dtheta="+string(dtheta)+"unitless")