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

clear;

//Variable declaration
D15=5.90*10**-3        //diameter of 15th ring
D5=3.36*10**-3         //diameter of 5th ring
m=10
R=100

//Calculation
lamda=(D15**2-D5**2)/(4*m*R)/10**-9*10**3

//Result
mprintf("Wavelength of liquid used= %d Armstrong",lamda)