blob: b8f4fbf77f9ad555d06cc3ad3377099ca270be78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear
//
//
//
//Variable declaration
x=4.2*10**-3 //distance(m)
D=60*10**-2 //screen slit distance(m)
lamda=6000*10**-10 //wavelength(m)
//Calculation
d=D*lamda/x //slit width(m)
//Result
printf("\n slit width is %0.3f *10**-4 m",d*10**4)
|