summaryrefslogtreecommitdiff
path: root/3875/CH4/EX4.4/Ex4_4.sce
blob: 2c723e8f2496ecf81890d9810e34aa5761708c2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc;
clear;
D=1 //distance between the source and the screen in m
lambda=5893*10^-10 //wavelength in m
d1=4.05*10^-3 //distance between two images of the slit in m in first case
d2=2.90*10^-3 //distance between two images of the slit in m in second case

//calculation
d=sqrt(d1*d2)
disp(d)
Beta=(lambda*D)/d 

mprintf("The distance between interference fringes is %1.2e m",Beta)