summaryrefslogtreecommitdiff
path: root/1979/CH7/EX7.4/Ex7_4.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1979/CH7/EX7.4/Ex7_4.sce
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 '1979/CH7/EX7.4/Ex7_4.sce')
-rwxr-xr-x1979/CH7/EX7.4/Ex7_4.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1979/CH7/EX7.4/Ex7_4.sce b/1979/CH7/EX7.4/Ex7_4.sce
new file mode 100755
index 000000000..e8b8162ce
--- /dev/null
+++ b/1979/CH7/EX7.4/Ex7_4.sce
@@ -0,0 +1,19 @@
+//chapter-7 page 279 example 7.4
+//==============================================================================
+clc;
+clear;
+
+S=2;//Voltage Standing Wave Ratio(VSWR)
+C=30;//Coupling Power of a Directional Coupler in dB
+Pf=4.5;//Coupler Incident Sampling Power in mW
+
+//CALCULATION
+p=((S-1)/(S+1));//Reflection Coefficient
+Pi=Pf*10^(C/10);//Incident Power in mW [From C=10log(Pi/Pf)]
+Pr=(Pi*(p^2))/10^3;//Reflected Power in W [From p=sqrt(Pr/Pi)]
+
+//OUTPUT
+mprintf('\nValue of Reflected Power is Pr=%1.2f W',Pr);
+
+//=========================END OF PROGRAM===============================
+