diff options
Diffstat (limited to '2912/CH12/EX12.1/Ex12_1.sce')
-rwxr-xr-x | 2912/CH12/EX12.1/Ex12_1.sce | 14 |
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);
+
+
|