blob: 32d796c4ecd0f578bcb6d97882402ed0ad645a19 (
plain)
1
2
3
4
5
6
7
8
9
10
|
clc;
clear all;
n = 125; // Number of fringes observed
d = 0.04e-3; // Distance moved
lambda = (2*d)/n; // Condition for interference
lamda=lambda*1e10;//conversion in Angstrome
disp('Angstrom',lamda,'The wavelength of light used is ')
disp('m',lambda,'The wavelength of light used is')
//rounding off value of lambda in meter due to scilab..
|