summaryrefslogtreecommitdiff
path: root/1535/CH3/EX3.8/Ch03Ex8.sci
blob: 30238fef97d0ce36300f9d0a32e6f220cf2105d1 (plain)
1
2
3
4
5
6
7
8
// Scilab Code Ex3.8 : Page-73 (2010)
Dn = 0.30;    // Diameter of nth dark ring with air film, cm
dn = 0.25;    // Diameter of nth dark ring with liquid film, cm
mu = (Dn/dn)^2;    // Refractive index of the liquid
printf("\nThe refractive index of the liquid = %4.2f", mu);

// Result 
// The refractive index of the liquid = 1.44