summaryrefslogtreecommitdiff
path: root/3543/CH2/EX2.3/Ex2_3.sce
blob: ab71998951d1cc47ed95fd31a7fbce6ba883ba02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Example 2.3
//  Calculation of (a) critical angle (b) numerical aperature and (c) acceptance angle
// Page no 38

clc;
clear;
close;

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

// (a) Critical angle
theatha=asind(n2/n1);            
// (b) Numerical aperature
NA=sqrt(n1^2-n2^2);               
// (c) Acceptance angle
theatha1=asind(NA);                     

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