blob: 6e8886acbcb095f22c0daf6c5cb425bc3ad6e1a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear
//
//
//
//Variable declaration
alpha=0.01 //angle(radian)
n=10
lamda=6000*10**-10 //wavelength(m)
//Calculation
x=((2*n)-1)*lamda/(4*alpha) //distance from edge of the wedge(m)
//Result
printf("\n distance from edge of the wedge is %0.3f *10**-4 m",x*10**4)
|