summaryrefslogtreecommitdiff
path: root/1061/CH2/EX2.11/Ex2_11.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1061/CH2/EX2.11/Ex2_11.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 '1061/CH2/EX2.11/Ex2_11.sce')
-rwxr-xr-x1061/CH2/EX2.11/Ex2_11.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1061/CH2/EX2.11/Ex2_11.sce b/1061/CH2/EX2.11/Ex2_11.sce
new file mode 100755
index 000000000..0a295d480
--- /dev/null
+++ b/1061/CH2/EX2.11/Ex2_11.sce
@@ -0,0 +1,10 @@
+//Ex:2.11
+clc;
+clear;
+close;
+n1=1.50;// core refractive index
+n2=1.45;// cladding refractive index
+n_m=sqrt(n1^2-n2^2);// numerical aperture
+dl=(n1-n2)/n1;// fractional difference
+printf("numerical aperture = %f",n_m);
+printf("\n fractional difference = %f",dl); \ No newline at end of file