blob: 2617bd703b80a80aacf653ced7f99f8a2d43d608 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear
//
//
//
//Variable declaration
D=80 //separation between screen and slit(cm)
d=0.1 //separation between slits(cm)
beta1=0.04 //fringe width(cm)
//Calculation
lamda=beta1*d/D //wavelength(cm)
//Result
printf("\n wavelength is %0.0f angstrom",lamda*10**8)
|