summaryrefslogtreecommitdiff
path: root/3020/CH7/EX7.7/ex7_7.sce
blob: 581b4a9aa91c5d7007787e0f91d7a022dfc3b532 (plain)
1
2
3
4
5
6
7
8
9
clc;
clear all;
n = 1000; // Number of fringes observed
d = 0.3165e-3; // Distance moved
lambda = (2*d)/n; // Condition for interference is
disp('m',lambda,'The wavelength of light used is')
lamda=lambda*1e10;//conversion in Angstrome
disp('Angstrom',lamda,'The wavelength of light used is ')
//rounding off value of lambda in meter due to scilab..