blob: 12e98edfa18bb9351b1e664336ee42be07f1567c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear
//
//
//
//Variable declaration
d=0.2*10**-3 //distance between slits(m)
lamda=550*10**-9 //wavelength(m)
D=1 //distance of screen from slits(m)
//Calculation
beta1=lamda*D/d //fringe width(m)
//Result
printf("\n fringe width is %0.3f mm",beta1*10**3)
|