summaryrefslogtreecommitdiff
path: root/2243/CH15/EX15.1/Ex15_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2243/CH15/EX15.1/Ex15_1.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2243/CH15/EX15.1/Ex15_1.sce')
-rwxr-xr-x2243/CH15/EX15.1/Ex15_1.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2243/CH15/EX15.1/Ex15_1.sce b/2243/CH15/EX15.1/Ex15_1.sce
new file mode 100755
index 000000000..2ab5b5dbe
--- /dev/null
+++ b/2243/CH15/EX15.1/Ex15_1.sce
@@ -0,0 +1,11 @@
+clc();
+clear;
+//Given :
+n0 = 1;//refractive index of outer medium
+n1 = 1.5025; // refractive index of core
+n2 = 1.4975; // refractive index of cladding
+NA = sqrt(n1^2 - n2^2); // Numerical aperture with cladding
+alpha_c = asind(NA/n0); // acceptance angle in degrees
+NA1 = sqrt(n1^2 - n0^2);// Numerical aperture without cladding
+printf("With cladding , NA and Acceptance angle = %.4f and %.3f degrees \n ",NA,alpha_c);
+printf("Without cladding , NA = %.4f ",NA1);