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

clear;

//Variable declaration
D2=1.40                
D1=1.20                

//Calculation
myu=(D2/D1)**2

//Result
mprintf("Refractive index of liquid= %0.3f ",myu)