summaryrefslogtreecommitdiff
path: root/1847/CH2/EX2.23/Ch02Ex23.sce
blob: c993f377c91211174eb4acdb6f40a95e6b7be2c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Scilab Code Ex2.23:: Page-2.19 (2009)
clc; clear;
t = 2.1e-03;    // Thickness of the glass sheet, cm
lambda = 5400e-008;     // Wavelength of light used, cm
n = 11;      // Order of interference fringes
// As path difference, (mu - 1)*t = n*lambda
mu = n*lambda/t + 1;    // Refractive index of the glass sheet

printf("\nThe refractive index of the glass sheet = %4.2f", mu);

// Result 
// The refractive index of the glass sheet= 1.28