blob: 8a243b545ea4eb1c0e41d18f33a7e756ad33c544 (
plain)
1
2
3
4
5
6
7
8
9
10
|
clc
//to calculate orders
//let E=(e+d)
//formula is (e+d)*sin thita=n*lambda
//for maximum order to be possible thita=90 degree
//sin theta=1
E=2.54/2620 //in cm
lambda=5*10^-5 //wavelength of the incident light in cm
n=E/lambda
disp("the orders will be visible is n="+string(n)+"unitless")
|