summaryrefslogtreecommitdiff
path: root/728/CH9/EX9.3
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.3
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.3')
-rwxr-xr-x728/CH9/EX9.3/Ex9_3.sce13
-rwxr-xr-x728/CH9/EX9.3/Ex9_3.txt13
-rwxr-xr-x728/CH9/EX9.3/Ex9_3_ans.txt8
3 files changed, 34 insertions, 0 deletions
diff --git a/728/CH9/EX9.3/Ex9_3.sce b/728/CH9/EX9.3/Ex9_3.sce
new file mode 100755
index 000000000..89c25e195
--- /dev/null
+++ b/728/CH9/EX9.3/Ex9_3.sce
@@ -0,0 +1,13 @@
+//Caption:Calculate (i)-power gain in dB ,(ii)-power gain if it is USB converter.
+//Exa:9.3
+clc;
+clear;
+close;
+f_s=2*10^9;//in Hz
+f_p=12*10^9;//in Hz
+R_i=16;
+R_s=1000;
+A_p=10*log((f_p-f_s)/f_s);
+A_p_usb=10*log((f_p+f_s)/f_s);
+disp(log(10),'Power gain (in dB) =');
+disp(A_p_usb,'Power gain as USB converter (in dB) ='); \ No newline at end of file
diff --git a/728/CH9/EX9.3/Ex9_3.txt b/728/CH9/EX9.3/Ex9_3.txt
new file mode 100755
index 000000000..89c25e195
--- /dev/null
+++ b/728/CH9/EX9.3/Ex9_3.txt
@@ -0,0 +1,13 @@
+//Caption:Calculate (i)-power gain in dB ,(ii)-power gain if it is USB converter.
+//Exa:9.3
+clc;
+clear;
+close;
+f_s=2*10^9;//in Hz
+f_p=12*10^9;//in Hz
+R_i=16;
+R_s=1000;
+A_p=10*log((f_p-f_s)/f_s);
+A_p_usb=10*log((f_p+f_s)/f_s);
+disp(log(10),'Power gain (in dB) =');
+disp(A_p_usb,'Power gain as USB converter (in dB) ='); \ No newline at end of file
diff --git a/728/CH9/EX9.3/Ex9_3_ans.txt b/728/CH9/EX9.3/Ex9_3_ans.txt
new file mode 100755
index 000000000..42e9bba62
--- /dev/null
+++ b/728/CH9/EX9.3/Ex9_3_ans.txt
@@ -0,0 +1,8 @@
+ Power gain (in dB) =
+
+ 2.3025851
+
+ Power gain as USB converter (in dB) =
+
+ 19.459101
+ \ No newline at end of file