summaryrefslogtreecommitdiff
path: root/1397/CH8/EX8.7/8_7.sce
blob: 16c94c1dd17c2ae870ff686160efbc94fd9fd0c7 (plain)
1
2
3
4
5
6
7
//clc();
clear;
//To calculate fractional index change
n1=1.5;          //core refractive index
n2=1.3;          //cladding refractive index
delta=(n1-n2)/n1;
printf("fractional index change is %f",delta);