diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3543/CH2/EX2.3/Ex2_3.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3543/CH2/EX2.3/Ex2_3.sce')
-rw-r--r-- | 3543/CH2/EX2.3/Ex2_3.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/3543/CH2/EX2.3/Ex2_3.sce b/3543/CH2/EX2.3/Ex2_3.sce new file mode 100644 index 000000000..ab7199895 --- /dev/null +++ b/3543/CH2/EX2.3/Ex2_3.sce @@ -0,0 +1,24 @@ +// Example 2.3
+// Calculation of (a) critical angle (b) numerical aperature and (c) acceptance angle
+// Page no 38
+
+clc;
+clear;
+close;
+
+// Given data
+n1=1.5; // Refractive index of core
+n2=1.47; // Refractive index of cladding)
+
+// (a) Critical angle
+theatha=asind(n2/n1);
+// (b) Numerical aperature
+NA=sqrt(n1^2-n2^2);
+// (c) Acceptance angle
+theatha1=asind(NA);
+
+//Display result on command window
+printf("\n Critical angle (degrees) = %0.1f ",theatha);
+printf("\n Numerical aperature = %0.2f ",NA);
+printf("\n Acceptance angle (degrees) = %0.1f ",theatha1);
+
|