summaryrefslogtreecommitdiff
path: root/3768/CH12/EX12.3/Ex12_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3768/CH12/EX12.3/Ex12_3.sce')
-rw-r--r--3768/CH12/EX12.3/Ex12_3.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3768/CH12/EX12.3/Ex12_3.sce b/3768/CH12/EX12.3/Ex12_3.sce
new file mode 100644
index 000000000..fce20d664
--- /dev/null
+++ b/3768/CH12/EX12.3/Ex12_3.sce
@@ -0,0 +1,12 @@
+//Example number 12.3, Page number 264
+
+clc;clear;
+close;
+
+//Variable declaration
+n1=1.55; //Core refractive index
+n2=1.50; //Cladding refractive index
+//Calculation
+NA=sqrt(n1**2-n2**2); //numerical aperture
+//Result
+printf("numerical aperture is %.2f",NA)