summaryrefslogtreecommitdiff
path: root/1061/CH2/EX2.11/Ex2_11.sce
blob: 0a295d4802789860a3e2c527866d97e1f95afb62 (plain)
1
2
3
4
5
6
7
8
9
10
//Ex:2.11
clc;
clear;
close;
n1=1.50;// core refractive index
n2=1.45;// cladding refractive index
n_m=sqrt(n1^2-n2^2);// numerical aperture
dl=(n1-n2)/n1;// fractional difference
printf("numerical aperture = %f",n_m);
printf("\n fractional difference = %f",dl);