summaryrefslogtreecommitdiff
path: root/3875/CH4/EX4.4/Ex4_4.sce
blob: 392885aab8bf489175d1cee679a8e6d02fafa491 (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) //distance between the slits in m
Beta=(lambda*D)/d 

mprintf("The distance between interference fringes is %1.2e m",Beta)
//The answer provided in the textbook is wrong.