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

clear;

//Variable declaration
dn=0.3                //diameter of ring 5
lamda=5.895*10**-5    //wavelenght
R=100
n=5

//Calculation
myu=(4*R*n*lamda)/dn**2

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