summaryrefslogtreecommitdiff
path: root/3875/CH4/EX4.21/Ex4_21.sce
blob: e57549561190c312b90a932f8bd8e1b2fdb41fb6 (plain)
1
2
3
4
5
6
7
8
9
clc;
clear;
X2_minus_X1=0.05896*10^-3 //displacement of mirror in m
n=200 //no of fringes

//calculation
lambda=(2*X2_minus_X1)/n
mprintf("The wavelength of the light is = %1.3e m",lambda)
//The answer provided in the textbook is wrong.