summaryrefslogtreecommitdiff
path: root/3740/CH8/EX8.13/Ex8_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '3740/CH8/EX8.13/Ex8_13.sce')
-rw-r--r--3740/CH8/EX8.13/Ex8_13.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3740/CH8/EX8.13/Ex8_13.sce b/3740/CH8/EX8.13/Ex8_13.sce
new file mode 100644
index 000000000..4e4eecd57
--- /dev/null
+++ b/3740/CH8/EX8.13/Ex8_13.sce
@@ -0,0 +1,16 @@
+//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
+//Example 8.13
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+
+//given
+//Let the quantity 'D/2a' be 'D'
+D=0.1;//Dimensionless Ratio of lateral displacement to fiber core radius
+
+Tlat=2/%pi*(acos(D) - D*sqrt(1 - D^2));//Transmission losses from misalignment
+mprintf("\n Tlat = %.3f",Tlat);//The answers vary due to round off error
+
+L=-10*log10(Tlat);//Corresponding Transmission loss in dB
+mprintf("\n L = %.2f dB",L);