summaryrefslogtreecommitdiff
path: root/2681/CH5/EX5.6/Ex5_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2681/CH5/EX5.6/Ex5_6.sce')
-rwxr-xr-x2681/CH5/EX5.6/Ex5_6.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/2681/CH5/EX5.6/Ex5_6.sce b/2681/CH5/EX5.6/Ex5_6.sce
new file mode 100755
index 000000000..b0f058a7e
--- /dev/null
+++ b/2681/CH5/EX5.6/Ex5_6.sce
@@ -0,0 +1,9 @@
+//output power of cable
+//given
+clc
+alpha=0.28//db/m//attenuation
+alpha_50m=0.28*50//db//attenutaion of 50 m cable
+pi=0.4//watt//input power//ERROR
+po=pi/(10^((alpha_50m)/10))//watt//output power
+disp(po*1000,'the output power of 50m in mW ')//mW
+//ERROR in calculation of the book as pi=0.04