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

clear;

//Variable declaration
D1=1.50
D2=1.30

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

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