blob: 6fab49b8ecbd3ca6e7c6b4ae66909dc15beeddc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
clc
//
//
//
//Variable declaration
D=0.04 //Distance from screen
lambdaa=5890*10**-10 //Wavelength
d=2*10**-3 //Slit separation
n=10 //No. of fringes
//Calculations
x10=(n*D*lambdaa*10**-2)/d
//Result
printf("\n The position of the 10th fringe is %0.3f *10**-4 m",x10)
|