summaryrefslogtreecommitdiff
path: root/3869/CH1/EX1.30/Ex1_30.sce
blob: b2a42cb8f0b2820a1a8104ecf24e11e70d608b89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clear
//
//
//

//Variable declaration
Dn=2*10**-3           //diameter of ring(m)
n=10
lamda=500*10**-9      //wavelength(m)

//Calculation
R=Dn**2/(4*n*lamda)     //radius(m)
t=Dn**2/(8*R)           //thickness of air film(m)

//Result
printf("\n thickness of air film is %0.3f  micro m",t*10**6)