summaryrefslogtreecommitdiff
path: root/1883/CH3/EX3.3.4/Example3_4.sce
blob: d2823a894f4fb2d9cfca3f17932d09878f613232 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Chapter-3,Example3_3_4,pg 3-7

n1=1.6                                                  //refractive index f core

n2=1.3                                                  //refractive index of cladding

angle_c=asind(n2/n1)                               //Critical angle 

printf("\nThe critical angle is angle_c = %.2f Degree\n",angle_c)

angle_0=asind(sqrt(n1^2-n2^2))                       //for air numerical aperture is 'NA=sin(angle_0)'

angle_cone=2*angle_0

printf("\nThe acceptance angle cone = %.3f Degree\n",angle_cone)

//mistake in textbook