summaryrefslogtreecommitdiff
path: root/2183/CH8/EX8.19
diff options
context:
space:
mode:
Diffstat (limited to '2183/CH8/EX8.19')
-rwxr-xr-x2183/CH8/EX8.19/ex_8_19.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2183/CH8/EX8.19/ex_8_19.sce b/2183/CH8/EX8.19/ex_8_19.sce
new file mode 100755
index 000000000..ad3cc6beb
--- /dev/null
+++ b/2183/CH8/EX8.19/ex_8_19.sce
@@ -0,0 +1,16 @@
+// Example 8.19:compare
+clc;
+clear;
+close;
+cl=1;//dB
+actr=10;//dB
+acl=1;//dB
+fcl=4.5;//dB/km
+sl=2.5;//dB
+cel=2;//dB
+dl=100;//m
+x=cel*cl-fcl*dl*10^-3+(cel*cl+cl)*-(cel+cl)+(cel*cl+actr)+sl+cl;//
+x1=(fcl*dl*10^-3)+(cel*cl+cl);//
+disp("total loss for bus distribution system is "+string(x1)+"N + "+string(x)+"")
+x3=(cel*2*cl)+cel+(fcl*dl*10^-3);//
+disp("total loss for star distribution system is "+string(x3)+"+ 10log10(N)")