diff options
Diffstat (limited to '3543/CH2/EX2.4')
-rw-r--r-- | 3543/CH2/EX2.4/EX2_4.png | bin | 0 -> 27301 bytes | |||
-rw-r--r-- | 3543/CH2/EX2.4/Ex2_4.sce | 20 |
2 files changed, 20 insertions, 0 deletions
diff --git a/3543/CH2/EX2.4/EX2_4.png b/3543/CH2/EX2.4/EX2_4.png Binary files differnew file mode 100644 index 000000000..573dd6cd5 --- /dev/null +++ b/3543/CH2/EX2.4/EX2_4.png diff --git a/3543/CH2/EX2.4/Ex2_4.sce b/3543/CH2/EX2.4/Ex2_4.sce new file mode 100644 index 000000000..195073848 --- /dev/null +++ b/3543/CH2/EX2.4/Ex2_4.sce @@ -0,0 +1,20 @@ +// Example 2.4
+// Calculation of output power
+// Page no 46
+
+clc;
+clear;
+close;
+
+// Given data
+Pi=1; // Input power
+A=0.5; // Atteuation
+L=15; // Fiber link length
+
+// Output Power
+Po=Pi*10^((-A*L)/10);
+
+//Display result on command window
+printf("\n Output Power (in mW) = %0.3f ",Po);
+
+
|