diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1883/CH3/EX3.6.2 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1883/CH3/EX3.6.2')
-rwxr-xr-x | 1883/CH3/EX3.6.2/Example3_16.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1883/CH3/EX3.6.2/Example3_16.sce b/1883/CH3/EX3.6.2/Example3_16.sce new file mode 100755 index 000000000..53181b2dc --- /dev/null +++ b/1883/CH3/EX3.6.2/Example3_16.sce @@ -0,0 +1,13 @@ +//Chapter-3,Example3_6_2,pg 3-18
+
+L=3 //length of fibre in km
+
+a=1.5 //Loss specification in dB/km
+
+Pin=9.0 //input power in uW
+
+Pl=a*L //Power loss
+
+Pout=Pin*10^(-Pl/10) //as Power loss or attenuation is Pl=(-10)*log10(Pout/Pin)
+
+printf("\nThe output power Pout = %.3f uW\n",Pout)
|