summaryrefslogtreecommitdiff
path: root/2912/CH12/EX12.2/Ex12_2.sce
blob: ea82adba86c6379aaabe45c978b63e0bf61ae465 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//  chapter 12
// example 12.2
// calculate numerical aperture and the acceptance angle of an optical fibre
// page 360
clear;
clc;
// given
u1=1.55; // refractive index of core
u2=1.50; // refractive index of cladding
//calculate
d=(u1-u2)/u1; // calculation of fractional index change
NA=u1*sqrt(2*d); // calculation of numerical aperture
printf('\nThe numerical aperture of the fibre is \tNA=%.3f',NA);
theta=asind(NA); // calculation of acceptance angle
printf('\nThe acceptance angle of the optical fibre is \t%.1f degree',theta);