summaryrefslogtreecommitdiff
path: root/72/CH3/EX3.1.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /72/CH3/EX3.1.1
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 '72/CH3/EX3.1.1')
-rwxr-xr-x72/CH3/EX3.1.1/3_1_1.sce38
1 files changed, 38 insertions, 0 deletions
diff --git a/72/CH3/EX3.1.1/3_1_1.sce b/72/CH3/EX3.1.1/3_1_1.sce
new file mode 100755
index 000000000..3bc7a51b8
--- /dev/null
+++ b/72/CH3/EX3.1.1/3_1_1.sce
@@ -0,0 +1,38 @@
+// CAPTION:Calculate_the_Line_Characteristic_Impedance_and_Propagation_constant
+//chapter_no.-3, page_no.-84
+//Example_no.3-1-1
+
+clc;
+
+
+//(a)Calculate_the_line_Characteristic_Impedance
+
+
+R=2;
+L=8*(10^-9);
+C=.23*(10^-12);
+f=1*(10^9);
+G=.5*(10^-3);
+w=2*%pi*f;
+
+Z0=sqrt((R+(%i*w*L))/(G+(%i*w*C)));
+x=real(Z0);
+y=imag(Z0);
+o=atand(y,x);
+disp(o,'the_phase_of_Z0_is =');
+M=abs(Z0);//magintue_of_Z0
+disp(M,'the_magnitude_of_Z0_is =');
+disp(Z0,'the_line_characteristic_impedance is =');
+
+
+
+//(b)Calculate_the_propagation_constant
+
+r=sqrt((R+(%i*w*L))*(G+(%i*w*C)));
+x=real(r);
+y=imag(r);
+o=atand(y,x);
+disp(o,'the_phase_of_r_is =');
+M=abs(r);//magintue_of_r
+disp(M,'the_magnitude_of_r_is =');
+disp(r,'the_propagation_constant is ='); \ No newline at end of file