summaryrefslogtreecommitdiff
path: root/3543/CH2/EX2.04/Ex2_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3543/CH2/EX2.04/Ex2_4.sce')
-rw-r--r--3543/CH2/EX2.04/Ex2_4.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3543/CH2/EX2.04/Ex2_4.sce b/3543/CH2/EX2.04/Ex2_4.sce
new file mode 100644
index 000000000..90691e287
--- /dev/null
+++ b/3543/CH2/EX2.04/Ex2_4.sce
@@ -0,0 +1,23 @@
+// Example 2.4
+// Calculation of (a) Numerical aperature and (b) critical angle
+// Page no 480
+
+clc;
+clear;
+close;
+
+// Given data
+n1=1.5; // Refractive index of core
+n2=1.47; // Refractive index of cladding
+
+// (a) Numerical aperature
+NA= sqrt(n1^2-n2^2);
+
+// (b) Critical angle
+theatha=asind(n2/n1);
+
+//Display result on command window
+printf("\n Numerical aperature = %0.2f ",NA);
+printf("\n Critical angle (degrees)= %0.1f ",theatha);
+
+