summaryrefslogtreecommitdiff
path: root/374/CH9/EX9.1
diff options
context:
space:
mode:
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