blob: 6a742a9e7496140b9691986c7a25581740de0a49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clc
//to calculate angular width and linear width
lambda=6*10^-5
e=0.01 //width of slit in cm
//position of minima is given by
sintheta=lambda/e //sintheta=m*lambda/e ,where m=1,2,3,......
disp("sintheta="+string(sintheta)+" m")
//since theta is very small,so sintheta is approximately equal to theta
theta=sintheta
theta1=2*theta
disp("total angular width of central maximum is theta1="+string(theta1)+" m radians ")
d=100 //distance in cm
Y=theta*d
Y1=2*Y
disp("linear width of central maximum on the screen is Y1="+string(Y1)+" m cm")
disp("values of m =1,2,3,............ gives the directions of first, second .............minima")
|