summaryrefslogtreecommitdiff
path: root/3537/CH7/EX7.21/Ex7_21.sce
blob: 91125f6c3150e1498c24db60b99a727686e2a3d7 (plain)
1
2
3
4
5
6
7
8
//Example 7_21
clc();
clear;
//To calculate the refractive index of core
delta=0.14
n2=1.3
n1=n2/(1-delta)
printf("The refractive index of core is %.2f",n1)