summaryrefslogtreecommitdiff
path: root/2912/CH12/EX12.8/Ex12_8.sce
blob: 5b74a619d00ba88f57d049e04d524d20f61cb71c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//  chapter 12
// example 12.8
// calculate numerical aperture and acceptance angle of an optical fibre
// page 361-362
clear;
clc;
// given
u1=1.48; // refractive index of core
u2=1.45; // refractive index of cladding
//calculate
NA=sqrt(u1^2-u2^2); // 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%.2f degree',theta);
// Note: there is slight variation in the answer due to round off