summaryrefslogtreecommitdiff
path: root/3543/CH2/EX2.04/Ex2_4.sce
blob: 90691e28778ba48a70a3031fb884f34215ff3561 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Example 2.4
// Calculation of (a) Numerical aperature and (b) critical angle
// Page no 480

clc;
clear;
close;

// Given data
n1=1.5;                   // Refractive index of core
n2=1.47;                  // Refractive index of cladding

// (a) Numerical aperature
NA= sqrt(n1^2-n2^2);                

// (b) Critical angle
theatha=asind(n2/n1);               

//Display result on command window
printf("\n Numerical aperature = %0.2f ",NA);
printf("\n Critical angle (degrees)= %0.1f  ",theatha);