blob: 2e6520d2c27319208e8bb4219aba0fbe0ab6370d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//Chapter-1,Example 1_15,Page 1-42
clc()
//Given Data:
n=6 //6th bright ring
D6=0.31*10^-2 //Diameter of 6th ring
lam=6*10^-7 //wavelength of light
R=1 //Radius of curvature
//Calculations:
//Diameter of nth bright ring is
//Dn^2=2(2n-1)*lam*R/u. Hence
u=2*(2*n-1)*lam*R/(D6)^2 //Refractive index of liquid
printf('Refractive index of liquid is =%.3f \n',u)
|