summaryrefslogtreecommitdiff
path: root/1619/CH1/EX1.9.2/Example1_9_2.sce
blob: 3771890ada937510212c7968659b17f5817c3e92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Example 1.9.2 page 1.23
// To calculate Numerical aperture and Acceptance angle...

clc;
clear;

n1= 1.5 // RI of core
n2 = 1.48   // RI of cladding..

NA = sqrt((n1^2)-(n2^2));
printf('The Numerical Aperture is  %.2f',NA);

phiA = asind(NA);
printf('\n\nThe Critical angel is  %.2f degrees',phiA);