summaryrefslogtreecommitdiff
path: root/2780/CH3/EX3.12/Ex3_12.sce
blob: 6d1d24660290142bf592e8584852a159919a2b3f (plain)
1
2
3
4
5
6
7
8
9
clc
//to calculate difference in deviations 
lambda=5*10^-5    //wavelength of light in cm
eplusd=1/6000         //where eplusd=e+d
theta1=asind(lambda/eplusd)    //for first order spectrum
theta3=asind(3*lambda/eplusd) //for second order spectrum
difference=theta3-theta1
disp("difference in deviations in first and third order spectra is difference ="+string(difference)+"degree")