diff options
Diffstat (limited to '3869/CH5/EX5.18/Ex5_18.sce')
-rw-r--r-- | 3869/CH5/EX5.18/Ex5_18.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3869/CH5/EX5.18/Ex5_18.sce b/3869/CH5/EX5.18/Ex5_18.sce new file mode 100644 index 000000000..5035b4904 --- /dev/null +++ b/3869/CH5/EX5.18/Ex5_18.sce @@ -0,0 +1,17 @@ +clear +// +// +// + +//Variable declaration +n1=1.6 //Core refractive index +n2=1.4 //Cladding refractive index +n0=1.33 //water refractive index + +//Calculation +NA=sqrt(n1**2-n2**2)/n0 //numerical aperture +theta0=asin(NA)*180/%pi //acceptance angle(degrees) + +//Result +printf("\n numerical aperture is %0.3f ",NA) +printf("\n acceptance angle is %0.4f degrees",theta0) |