From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 3415/CH9/EX9.3/Ex9_3.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 3415/CH9/EX9.3/Ex9_3.sce (limited to '3415/CH9/EX9.3/Ex9_3.sce') 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) + -- cgit