blob: 9b8226759f33c9830780c6bec21fd867e2a7218a (
plain)
1
2
3
4
5
6
7
8
9
10
|
clc
//to calculate orders
eplusd=1/4000
lambda1=5*10^-5
//wavelengh in cm
lambda2=7.5*10^-5
nmax1=eplusd/lambda1
nmax2=eplusd/lambda2
disp("orders will be observed by a grating ,if it is illuminated by light of wavelength of 5000 angstrom is nmax1="+string(nmax1)+"unitless ")
disp("orders will be observed ,if it is illuminated by light of wavelength of 7500 angstrom is nmax2='+string(nmax2)+"unitless")
|