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

clear;

//Variable declaration
myu=4/3
Dn=0.5                 //diameter of 10th ring
lamda=5895*10**-8
n=6
R=100
r=0.15

//Calculation
myu=(((2*n)-1)*lamda*R)/(2*r**2)

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