From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3717/CH16/EX16.3/Ex16_3.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 3717/CH16/EX16.3/Ex16_3.sce (limited to '3717/CH16/EX16.3/Ex16_3.sce') diff --git a/3717/CH16/EX16.3/Ex16_3.sce b/3717/CH16/EX16.3/Ex16_3.sce new file mode 100644 index 000000000..58be1fc2d --- /dev/null +++ b/3717/CH16/EX16.3/Ex16_3.sce @@ -0,0 +1,10 @@ +// Ex16_3 Page:311 (2014) +clc;clear; +z = 30; // Length of the optical fibre, km +alpha = 0.8; // Fibre loss, dB/km +P_i = 200; // Power input to the optical fibre, micro-watt +P_o = P_i/10^(alpha*z/10); // Output power of the optical fibre, micro-watt +printf("\nThe output power from the optical fibre = %5.3f micro-watt", P_o); + +// Result +// The output power from the optical fibre = 0.796 micro-watt \ No newline at end of file -- cgit