summaryrefslogtreecommitdiff
path: root/728/CH7/EX7.4/Ex7_4.txt
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /728/CH7/EX7.4/Ex7_4.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/CH7/EX7.4/Ex7_4.txt')
-rwxr-xr-x728/CH7/EX7.4/Ex7_4.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/728/CH7/EX7.4/Ex7_4.txt b/728/CH7/EX7.4/Ex7_4.txt
new file mode 100755
index 000000000..cf0c5872d
--- /dev/null
+++ b/728/CH7/EX7.4/Ex7_4.txt
@@ -0,0 +1,13 @@
+//Caption:Calculate the value of reflected power
+//Exa:7.4
+clc;
+clear;
+close;
+//Given:
+P_i=4.5;//in mW
+S=2;//VSWR
+C=30;//in dB
+p=(S-1)/(S+1);
+P_f=P_i/(10^(C/10));
+P_r=p^2*P_i;
+disp(P_r,'Reflected power (in watts) ='); \ No newline at end of file