summaryrefslogtreecommitdiff
path: root/3537/CH7/EX7.13/Ex7_13.sce
blob: b0e33d1d29f6b7c4fb1e103ad8ac2bac72e53a03 (plain)
1
2
3
4
5
6
7
8
//Example 7_13
clc();
clear;
//To calculate the refractive index of the core
NA=0.39
delta=0.05
n1=NA/sqrt(2*delta)
printf("The refractive index of the core is %.3f",n1)