summaryrefslogtreecommitdiff
path: root/3875/CH4/EX4.12/Ex4_12.sce
blob: 552be2b01c37bd4bc3a2999ca9f3350c5f8a29ae (plain)
1
2
3
4
5
6
7
8
9
10
11
clc;
clear;
n1=62 //no of fringes observed
lambda_1=5893 //wavelngth of sodium light in Angstrom
lambda_2=5461 //wavelength of mercury lamp in Angstrom

//calculation
n2=(n1*lambda_1)/lambda_2

mprintf("The fringes obtained when sodium lamp is replaced by a mercury lamp is = %d",n2)
//The answer varies due to round off error.