summaryrefslogtreecommitdiff
path: root/3828/CH1/EX1.4/Ex1_4.sce
blob: e723a78b76cfbe9402cf91b6415553277760cd6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Chapter 1 : Wave Optics

clear;

//Variable declaration
lamda=5890*10**-8    //wavelength
myu=1.5              //refractive index of glass
n=1                  //first minimum
r=60                 //angle in degrees

//Calculations
t=(n*lamda)/(2*myu*0.5)/10**-5

//Result
mprintf("Minimum thickness of the film t= %.5f*10**-5 cm",t)
//The answer provided in the textbook is incorrect