blob: 1e40e1087798e366033019089ad8010706c7ea48 (
plain)
1
2
3
4
5
6
7
8
9
|
//clc();
clear;
//To determine the wavelength of light in Fraulhofer double slit diffraction
D=150; //distance between slit and screen in centimetres
d=0.03; //seperation between slits in centimetres
beeta=0.3; //fringe seperation in centimetres
lambda=(beeta*d*10^8)/D;
printf("wavelength of light if fringe seperation is 0.3 cm is %f Armstrong",lambda);
|