summaryrefslogtreecommitdiff
path: root/3822/CH11/EX11.3/Ex11_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3822/CH11/EX11.3/Ex11_3.sce')
-rw-r--r--3822/CH11/EX11.3/Ex11_3.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3822/CH11/EX11.3/Ex11_3.sce b/3822/CH11/EX11.3/Ex11_3.sce
new file mode 100644
index 000000000..dbdbe0ee9
--- /dev/null
+++ b/3822/CH11/EX11.3/Ex11_3.sce
@@ -0,0 +1,20 @@
+
+//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
+//Example 11.3
+//OS=Windows 10
+////Scilab version Scilab 6.0.0-beta-2(64 bit)
+clc;
+clear;
+
+//given
+n1=1.45//refractive index of core
+delta=0.01;//relative refractive index difference
+Br=50e6;//data rate in bps
+C=3e8// velocity of light in m/s
+//for step index fibre
+Lmaxs1=0.35*C/(delta*n1*Br);//modal dispersion limited transmission distance in meter for step index fiber
+mprintf("\n The modal dispersion limited transmission distance for step index fiber is=%.2f m",Lmaxs1);
+//for graded index fibre
+
+Lmaxc1=1.4*C*n1/(delta*n1*Br);;//modal dispersion limited transmission distance in meter for graded index fiber
+mprintf("\n The modal dispersion limited transmission distance for graded index fiber is=%.2f m",Lmaxc1);