summaryrefslogtreecommitdiff
path: root/728/CH9/EX9.6/Ex9_6.txt
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /728/CH9/EX9.6/Ex9_6.txt
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '728/CH9/EX9.6/Ex9_6.txt')
-rwxr-xr-x728/CH9/EX9.6/Ex9_6.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/728/CH9/EX9.6/Ex9_6.txt b/728/CH9/EX9.6/Ex9_6.txt
new file mode 100755
index 000000000..c4d4b69e7
--- /dev/null
+++ b/728/CH9/EX9.6/Ex9_6.txt
@@ -0,0 +1,9 @@
+//Caption:Calculate the power gain in dB
+//Exa:9.6
+clc;
+clear;
+close;
+R_neg=25;//in ohm
+R_load=50;//in ohm
+G={[- abs(R_neg)-R_load]/[- abs(R_neg)+R_load]}^2;
+disp(G,'Power gain ='); \ No newline at end of file