blob: fb97a0949db4a4dec91b43d4a059c1047cd84521 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
clear
//
//
//
//Variable declaration
v=0.2 //volume(cc)
a=1*10**4 //area(cm**2)
r=0
n=1
lamda=5.5*10**-5 //wavelength(cm)
t=2
//Calculation
d=v/a //thickness of film(cm)
mew=n*lamda/(2*t*cos(r)) //refractive index of oil
//Result
printf("\n refractive index of oil is %0.2f *10**-5",mew*10**5)
printf("\n answer given in the book is wrong")
|