summaryrefslogtreecommitdiff
path: root/2183/CH8/EX8.14.a/Ex_8_14_a.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2183/CH8/EX8.14.a/Ex_8_14_a.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 '2183/CH8/EX8.14.a/Ex_8_14_a.sce')
-rwxr-xr-x2183/CH8/EX8.14.a/Ex_8_14_a.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2183/CH8/EX8.14.a/Ex_8_14_a.sce b/2183/CH8/EX8.14.a/Ex_8_14_a.sce
new file mode 100755
index 000000000..2715dc19f
--- /dev/null
+++ b/2183/CH8/EX8.14.a/Ex_8_14_a.sce
@@ -0,0 +1,19 @@
+// Example 8.14.a //optical power budget
+clc;
+clear;
+close;
+mip=-10;//dBm
+mop=-25;//dBm
+tsm=mip-mop;//dB
+disp(tsm,"total system margin in dB is")
+l=2;//km
+fcl=3.2;//dB
+lfc=l*fcl;//fiber cable loss in dB
+sl=0.8;//dBm
+slc=sl*l;//dB
+cl=1.6;//dB
+sm=4;//dB
+tsm1=lfc+slc+cl+sm;//dB
+disp(tsm1,"total system margin in dB is")
+epm=tsm-tsm1;//dB
+disp(epm,"excess power margin in dB is")