blob: 8162e224779415c7651e588b55b7e2d19283a8c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Example 2.8.3
clc;
clear;
n1=1.482; //refractive index of core
n2=1.474; //refractive index of cladding
lamda=820d-9; //Wavelength
NA=sqrt(n1^2 - n2^2); //computing Numerical aperture
theta= asind(NA); //computing acceptance angle
solid_angle=%pi*(NA)^2; //computing solid angle
a=2.405*lamda/(2*3.14*NA); //computing core radius
a=a*10^6;
printf("\nNumerical aperture is %.3f.\nAcceptance angle is %.1f degrees.\nSolid angle is %.3f radians.\nCore radius is %.2f micrometer.",NA,theta,solid_angle,a);
//answer in the book for Numerical aperture is 0.155, deviation of 0.001.
//answer in the book for acceptance angle is 8.9, deviation of 0.1.
//answer in the book for solid acceptance angle is 0.075, deviation of 0.001.
//answer in the book for core radius is 2.02 micrometer, deviation of 0.02 micrometer.
|