summaryrefslogtreecommitdiff
path: root/3281/CH7/EX7.8/ex7_8.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3281/CH7/EX7.8/ex7_8.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 '3281/CH7/EX7.8/ex7_8.sce')
-rwxr-xr-x3281/CH7/EX7.8/ex7_8.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3281/CH7/EX7.8/ex7_8.sce b/3281/CH7/EX7.8/ex7_8.sce
new file mode 100755
index 000000000..482004450
--- /dev/null
+++ b/3281/CH7/EX7.8/ex7_8.sce
@@ -0,0 +1,21 @@
+//Page Number: 375
+//Example 7.8
+clc;
+//Given
+V0=1.8D+3; //V
+I0=1.3; //A
+Pin=70; //W
+n=0.22;
+
+//(i) Power generated
+Pgen=n*I0*V0;
+disp('W',Pgen,'Power generated:');
+
+//(ii) Total RF power generated
+Pt=Pin+Pgen;
+disp('W',Pt,'Total RF power generated:');
+
+//(iii) Power gain
+G=Pt/Pin;
+Gdb=10*log10(G);
+disp('dB',Gdb,'Power Gain:');