From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2183/CH8/EX8.19/ex_8_19.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 2183/CH8/EX8.19/ex_8_19.sce (limited to '2183/CH8/EX8.19') 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)") -- cgit