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 /3834/CH6/EX6.2.1/Ex6_2_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 '3834/CH6/EX6.2.1/Ex6_2_1.sce')
-rw-r--r-- | 3834/CH6/EX6.2.1/Ex6_2_1.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3834/CH6/EX6.2.1/Ex6_2_1.sce b/3834/CH6/EX6.2.1/Ex6_2_1.sce new file mode 100644 index 000000000..365f1911c --- /dev/null +++ b/3834/CH6/EX6.2.1/Ex6_2_1.sce @@ -0,0 +1,17 @@ +//Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner +//Example 6.2.1 +//windows 8 +//Scilab version-6.0.0 +clc; +clear ; +//given + +a1=12.45E-6;//radius of the cladding for silica fiber +a=4.15E-6;//radius of the core for silica fiber +w0=5.15E-6;//in m +lambda=1600E-9;//wavelength in m +x=exp(-2*(a1^2/w0^2)); +y=1-x; +Ploss=-10*log10(y);//power leakage in dB + +mprintf("Possible power leakage= %.2f micro-dB",Ploss*1e6);//multiplication by 1e6 to convert unit from dB to micro dB |