blob: b15f369037f14550e707cf4d61ae181dbeff0253 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
//Example 9.4
//OS=Windows 10
////Scilab version Scilab 6.0.0-beta-2(64 bit)
clc;
clear;
//given
alpham=26.1;//angular limit of far field pattern in degrees
NA=sind(alpham);//numerical aperture
L=16.7;//length of picture in cm
AB=(L/2)/[tand(alpham)];//distance from the screen in cm
mprintf("The numerical appertur is=%.2f ",NA);
mprintf("\nThe distance from the screen is=%.2f cm",AB);
//th answer vary due to rounding
|