summaryrefslogtreecommitdiff
path: root/273/CH24/EX24.6/ex24_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '273/CH24/EX24.6/ex24_6.sce')
-rwxr-xr-x273/CH24/EX24.6/ex24_6.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/273/CH24/EX24.6/ex24_6.sce b/273/CH24/EX24.6/ex24_6.sce
new file mode 100755
index 000000000..7027223f9
--- /dev/null
+++ b/273/CH24/EX24.6/ex24_6.sce
@@ -0,0 +1,12 @@
+clc;clear;
+//Example 24.6
+//calculation of power level
+
+//given values
+a=3.5;//attenuation in dB/km
+Pi=.5*10^-3;//initial power level in W
+l=4;//length of cable in km
+
+//calculation
+Po=Pi*10^6/(10^(a*l/10));
+disp(Po,'power level after km(in microwatt) is');