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/CH3/EX3.1 | |
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/CH3/EX3.1')
-rw-r--r-- | 3822/CH3/EX3.1/Ex3_1.jpg | bin | 0 -> 247358 bytes | |||
-rw-r--r-- | 3822/CH3/EX3.1/Ex3_1.sce | 27 |
2 files changed, 27 insertions, 0 deletions
diff --git a/3822/CH3/EX3.1/Ex3_1.jpg b/3822/CH3/EX3.1/Ex3_1.jpg Binary files differnew file mode 100644 index 000000000..d3250f781 --- /dev/null +++ b/3822/CH3/EX3.1/Ex3_1.jpg diff --git a/3822/CH3/EX3.1/Ex3_1.sce b/3822/CH3/EX3.1/Ex3_1.sce new file mode 100644 index 000000000..b34db6048 --- /dev/null +++ b/3822/CH3/EX3.1/Ex3_1.sce @@ -0,0 +1,27 @@ + +//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
+//Example 3.1
+//OS=Windows 10
+////Scilab version Scilab 6.0.0-beta-2(64 bit)
+clc;
+clear;
+
+//given
+Pin=100;//average optical power in microwatts
+Pout=2.5;//average output power in microwatts
+L=10;//length of fiber in Km
+L1=11//Length of fiber in Km
+Ls=0.8//attenuation per splice in dB
+ns=3//no of splices
+u=1/L;
+v=log10(Pin/Pout);
+alphadB=u*10*v;//total attenuation per Km
+TA=alphadB*L;
+mprintf("\n Total Attenuation=%.2f dB",TA);
+TA11=alphadB*L1;//total attenuation for 11 Km
+mprintf("\n Total Attenuation for 11 Km=%.2f dB",TA11);
+OA=TA11+ns*Ls;//overall attenuation in the link
+mprintf("\n The overall attenuation in the link=%.2f dB",OA);
+PinbyPout=10^(OA/10);//the value of Pin/Pout for 11Km line with splices
+mprintf("\n The value of Pin/Pout for 11Km line with splices=%.2f",PinbyPout);
+//the answer vary due to rounding
|