summaryrefslogtreecommitdiff
path: root/2912/CH12/EX12.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2912/CH12/EX12.1
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 '2912/CH12/EX12.1')
-rwxr-xr-x2912/CH12/EX12.1/Ex12_1.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2912/CH12/EX12.1/Ex12_1.sce b/2912/CH12/EX12.1/Ex12_1.sce
new file mode 100755
index 000000000..6d49d949f
--- /dev/null
+++ b/2912/CH12/EX12.1/Ex12_1.sce
@@ -0,0 +1,14 @@
+// chapter 12
+// example 12.1
+// calculate fractional index change for a given optical fibre
+// page 360
+clear;
+clc;
+// given
+u1=1.563; // refractive index of core
+u2=1.498; // refractive index of cladding
+//calculate
+d=(u1-u2)/u1; // calculation of fractional index change
+printf('\nThe fractional index change for a given optical fibre is %.4f',d);
+
+