summaryrefslogtreecommitdiff
path: root/3869/CH5/EX5.13/Ex5_13.sce
blob: d75db81b1094d8dc9816433342db28ec45ee4b5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear
//
//
//

//Variable declaration
NA=0.39          //numerical aperture
delta=0.05       //fractional index change

//Calculation
n1=NA/sqrt(2*delta)     //refractive index of core

//Result
printf("\n refractive index of core is %0.3f  ",n1)