summaryrefslogtreecommitdiff
path: root/3415/CH9/EX9.3/Ex9_3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3415/CH9/EX9.3/Ex9_3.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 '3415/CH9/EX9.3/Ex9_3.sce')
-rw-r--r--3415/CH9/EX9.3/Ex9_3.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3415/CH9/EX9.3/Ex9_3.sce b/3415/CH9/EX9.3/Ex9_3.sce
new file mode 100644
index 000000000..1c207cb11
--- /dev/null
+++ b/3415/CH9/EX9.3/Ex9_3.sce
@@ -0,0 +1,14 @@
+//fiber optic communications by joseph c. palais
+//example 9.3
+//OS=Windows XP sp3
+//Scilab version 5.4.1
+//given
+clc;
+clear all;
+n2=1.5//Assuming refractive index of glass fiber
+n1=1//refractive index if air
+R=((n1-n2)/(n1+n2))^2// fraction of light reflected
+//to find
+LR=-10*log10(R)//Return loss in dB
+mprintf('Return loss=%fdB',LR)
+