summaryrefslogtreecommitdiff
path: root/374/CH9/EX9.5/95.sci
blob: f36f5f59a01b3cf9e952034c23bf3a7d8f83c25c (plain)
1
2
3
4
5
6
7
8
//chapter 9 example 5//
clc
clear
//numerical aperture=NA,distance from the screen to fibre end space=D,measured output pattern size=A//
A=6;//in cm//
D=10;//in cm//
NA=A/(sqrt((A^2)+4*(D^2)));
printf("\n numerical aperture=%f m\n",NA)