diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3822/CH9/EX9.7/Ex9_5_1.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3822/CH9/EX9.7/Ex9_5_1.sce')
-rw-r--r-- | 3822/CH9/EX9.7/Ex9_5_1.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/3822/CH9/EX9.7/Ex9_5_1.sce b/3822/CH9/EX9.7/Ex9_5_1.sce new file mode 100644 index 000000000..4e6359ab8 --- /dev/null +++ b/3822/CH9/EX9.7/Ex9_5_1.sce @@ -0,0 +1,22 @@ + +//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
+//Example 9.7
+//OS=Windows 10
+////Scilab version Scilab 6.0.0-beta-2(64 bit)
+clc;
+clear;
+
+//given
+P1=100;//power at the input in microwatts
+P2=83.2;//power at the output in microwatts
+P3=35.5;//power at the ouput after connector in microwatts
+L=1.8;//length of the added fibre in Km
+alpha=1.5;//fiber attenuation in dB/L;
+
+//case 1:
+Ls=-10*log10(P2/P1);//insertion loss of connector in dB
+mprintf("\n The insertion loss of connector is=%.2f dB",Ls);
+
+//case 2:
+deltaLs=-10*log10(P3/P1)-Ls-alpha*L;//excess loss of the connector
+mprintf("\n The excess loss of connector is=%.2f dB",deltaLs);
|