summaryrefslogtreecommitdiff
path: root/374/CH9/EX9.1
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /374/CH9/EX9.1
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '374/CH9/EX9.1')
-rw-r--r--374/CH9/EX9.1/91.sci11
1 files changed, 11 insertions, 0 deletions
diff --git a/374/CH9/EX9.1/91.sci b/374/CH9/EX9.1/91.sci
new file mode 100644
index 000000000..f65733c0b
--- /dev/null
+++ b/374/CH9/EX9.1/91.sci
@@ -0,0 +1,11 @@
+//chapter 9 example 1//
+clc
+clear
+//length of multimode fibre=L1,measured output voltage=Vf,measured output voltage after adding=Vn,fibre cut back to a length=L2,attenuation=adB//
+L1=2;//in km//
+L2=0.002;//in km//
+Vn=10;//in volts//
+Vf=2.1;//in volts//
+p=log(Vn/Vf)*0.43;
+adB=(10*p)/(L1-L2);
+printf("\n attenuation per km=%f m\n",adB) \ No newline at end of file