summaryrefslogtreecommitdiff
path: root/728/CH7
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /728/CH7
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')
-rwxr-xr-x728/CH7/EX7.1/Ex7_1.sce17
-rwxr-xr-x728/CH7/EX7.1/Ex7_1.txt17
-rwxr-xr-x728/CH7/EX7.1/Ex7_1_ans.txt5
-rwxr-xr-x728/CH7/EX7.2/Ex7_2.sce11
-rwxr-xr-x728/CH7/EX7.2/Ex7_2.txt11
-rwxr-xr-x728/CH7/EX7.2/Ex7_2_ans.txt5
-rwxr-xr-x728/CH7/EX7.3/Ex7_3.sce11
-rwxr-xr-x728/CH7/EX7.3/Ex7_3.txt11
-rwxr-xr-x728/CH7/EX7.3/Ex7_3_ans.txt4
-rwxr-xr-x728/CH7/EX7.4/Ex7_4.sce13
-rwxr-xr-x728/CH7/EX7.4/Ex7_4.txt13
-rwxr-xr-x728/CH7/EX7.4/Ex7_4_ans.txt5
12 files changed, 123 insertions, 0 deletions
diff --git a/728/CH7/EX7.1/Ex7_1.sce b/728/CH7/EX7.1/Ex7_1.sce
new file mode 100755
index 000000000..e6da56039
--- /dev/null
+++ b/728/CH7/EX7.1/Ex7_1.sce
@@ -0,0 +1,17 @@
+//Caption:Calculate the SWR of the transmission line
+//Exa:7.1
+clc;
+clear;
+close;
+//Given:
+c=3*10^10;//in cm/s
+a=4;//in cm
+b=2.5;//in cm
+f=10*10^9;//in Hz
+d=0.1;//distance between 2 minimum power points(in cm)
+//For TE10 mode:
+wl_c=2*a;
+wl_o=c/f;
+wl_g=wl_o/sqrt(1-(wl_o/wl_c)^2);
+S=wl_g/(%pi*d);
+disp(S,'Voltage standing wave ratio ='); \ No newline at end of file
diff --git a/728/CH7/EX7.1/Ex7_1.txt b/728/CH7/EX7.1/Ex7_1.txt
new file mode 100755
index 000000000..e6da56039
--- /dev/null
+++ b/728/CH7/EX7.1/Ex7_1.txt
@@ -0,0 +1,17 @@
+//Caption:Calculate the SWR of the transmission line
+//Exa:7.1
+clc;
+clear;
+close;
+//Given:
+c=3*10^10;//in cm/s
+a=4;//in cm
+b=2.5;//in cm
+f=10*10^9;//in Hz
+d=0.1;//distance between 2 minimum power points(in cm)
+//For TE10 mode:
+wl_c=2*a;
+wl_o=c/f;
+wl_g=wl_o/sqrt(1-(wl_o/wl_c)^2);
+S=wl_g/(%pi*d);
+disp(S,'Voltage standing wave ratio ='); \ No newline at end of file
diff --git a/728/CH7/EX7.1/Ex7_1_ans.txt b/728/CH7/EX7.1/Ex7_1_ans.txt
new file mode 100755
index 000000000..14957e63e
--- /dev/null
+++ b/728/CH7/EX7.1/Ex7_1_ans.txt
@@ -0,0 +1,5 @@
+
+ Voltage standing wave ratio =
+
+ 10.301015
+ \ No newline at end of file
diff --git a/728/CH7/EX7.2/Ex7_2.sce b/728/CH7/EX7.2/Ex7_2.sce
new file mode 100755
index 000000000..514d3b9e6
--- /dev/null
+++ b/728/CH7/EX7.2/Ex7_2.sce
@@ -0,0 +1,11 @@
+//Caption:Calculate the SWR of the main waveguide
+//Exa:7.2
+clc;
+clear;
+close;
+//Given:
+P_i=300;//in mW
+P_r=10;//in mW
+p=sqrt(P_r/P_i);
+S=(1+p)/(1-p);
+disp(S,'Voltage standing wave ratio =');
diff --git a/728/CH7/EX7.2/Ex7_2.txt b/728/CH7/EX7.2/Ex7_2.txt
new file mode 100755
index 000000000..514d3b9e6
--- /dev/null
+++ b/728/CH7/EX7.2/Ex7_2.txt
@@ -0,0 +1,11 @@
+//Caption:Calculate the SWR of the main waveguide
+//Exa:7.2
+clc;
+clear;
+close;
+//Given:
+P_i=300;//in mW
+P_r=10;//in mW
+p=sqrt(P_r/P_i);
+S=(1+p)/(1-p);
+disp(S,'Voltage standing wave ratio =');
diff --git a/728/CH7/EX7.2/Ex7_2_ans.txt b/728/CH7/EX7.2/Ex7_2_ans.txt
new file mode 100755
index 000000000..f422ebfef
--- /dev/null
+++ b/728/CH7/EX7.2/Ex7_2_ans.txt
@@ -0,0 +1,5 @@
+
+ Voltage standing wave ratio =
+
+ 1.4467052
+ \ No newline at end of file
diff --git a/728/CH7/EX7.3/Ex7_3.sce b/728/CH7/EX7.3/Ex7_3.sce
new file mode 100755
index 000000000..fd065113f
--- /dev/null
+++ b/728/CH7/EX7.3/Ex7_3.sce
@@ -0,0 +1,11 @@
+//Caption:Calculate the SWR of the waveguide
+//Exa:7.3
+clc;
+clear;
+close;
+//Given:
+P_i=2.5;//in mW
+P_r=0.15;//in mW
+p=sqrt(P_r/P_i);
+S=(1+p)/(1-p);
+disp(S,'Voltage standing wave ratio =');
diff --git a/728/CH7/EX7.3/Ex7_3.txt b/728/CH7/EX7.3/Ex7_3.txt
new file mode 100755
index 000000000..fd065113f
--- /dev/null
+++ b/728/CH7/EX7.3/Ex7_3.txt
@@ -0,0 +1,11 @@
+//Caption:Calculate the SWR of the waveguide
+//Exa:7.3
+clc;
+clear;
+close;
+//Given:
+P_i=2.5;//in mW
+P_r=0.15;//in mW
+p=sqrt(P_r/P_i);
+S=(1+p)/(1-p);
+disp(S,'Voltage standing wave ratio =');
diff --git a/728/CH7/EX7.3/Ex7_3_ans.txt b/728/CH7/EX7.3/Ex7_3_ans.txt
new file mode 100755
index 000000000..22ac0931c
--- /dev/null
+++ b/728/CH7/EX7.3/Ex7_3_ans.txt
@@ -0,0 +1,4 @@
+Voltage standing wave ratio =
+
+ 1.6488276
+ \ No newline at end of file
diff --git a/728/CH7/EX7.4/Ex7_4.sce b/728/CH7/EX7.4/Ex7_4.sce
new file mode 100755
index 000000000..cf0c5872d
--- /dev/null
+++ b/728/CH7/EX7.4/Ex7_4.sce
@@ -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
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
diff --git a/728/CH7/EX7.4/Ex7_4_ans.txt b/728/CH7/EX7.4/Ex7_4_ans.txt
new file mode 100755
index 000000000..f0d2dc880
--- /dev/null
+++ b/728/CH7/EX7.4/Ex7_4_ans.txt
@@ -0,0 +1,5 @@
+
+ Reflected power (in watts) =
+
+ 0.5
+ \ No newline at end of file