summaryrefslogtreecommitdiff
path: root/374/CH9/EX9.5.a/95a.sci
diff options
context:
space:
mode:
Diffstat (limited to '374/CH9/EX9.5.a/95a.sci')
-rw-r--r--374/CH9/EX9.5.a/95a.sci15
1 files changed, 15 insertions, 0 deletions
diff --git a/374/CH9/EX9.5.a/95a.sci b/374/CH9/EX9.5.a/95a.sci
new file mode 100644
index 000000000..d5a5ca2e1
--- /dev/null
+++ b/374/CH9/EX9.5.a/95a.sci
@@ -0,0 +1,15 @@
+//chapter 9 example5a//
+clc
+clear
+//input power=P1,output power=P2,output power at the end of added fibre=P3,insertion loss of the connector=Ls,excess loss of the conductor=dLs//
+Po=83.2;//in micro watts//
+Pi=100;//in micro watts//
+Ls=-10*(log(Po/Pi)*0.43)
+printf("\n insertion loss of the connector=%f m\n",Ls)
+Ls=0.8;//in km//
+L=1.8;//in km//
+a=1.9;//constant//
+P3=35.5;//in micro watts//
+k=-(10*(log(P3/Pi)*0.43));
+dLs=k-Ls-(a*L);
+printf("\n loss of the conductor=%f dB\n",dLs)