summaryrefslogtreecommitdiff
path: root/3651/CH8/EX8.14/14.sce
diff options
context:
space:
mode:
Diffstat (limited to '3651/CH8/EX8.14/14.sce')
-rw-r--r--3651/CH8/EX8.14/14.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3651/CH8/EX8.14/14.sce b/3651/CH8/EX8.14/14.sce
new file mode 100644
index 000000000..a36c6c78d
--- /dev/null
+++ b/3651/CH8/EX8.14/14.sce
@@ -0,0 +1,13 @@
+//variable declaration
+P_i=100
+P_o=2
+L=10
+
+//Calculations
+S=(10/L)*log(P_i/P_o)
+O=S*L
+
+//Result
+printf('a.Signal attention per unit length =%0.3f dB km**-1\n',(S))
+printf('b.Overall signal attenuation =%0.3f dB\n',(O))
+printf('//Answer given in the textbook is wrong')