summaryrefslogtreecommitdiff
path: root/3828/CH5/EX5.3/Ex5_3.sce
blob: c6783b5345d17e931cb32decbe8c51e8082d779b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//Chapter 5 : Fibre Optics

clear;

//Variable declaration
n1=1.6                 //core refractive index
n2=1.58                //clad refractive index

//Calculations
NA=(n1**2-n2**2)**0.5
im=asin(NA)
im=im*180/%pi

//Result
mprintf("Numerical aperture= %f",NA)
mprintf("\nAcceptance angle= %2.2f degrees",im)
//The answer provided in the textbook is incorrect