diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1109/CH2/EX2.10/2_10.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1109/CH2/EX2.10/2_10.sce')
-rwxr-xr-x | 1109/CH2/EX2.10/2_10.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/1109/CH2/EX2.10/2_10.sce b/1109/CH2/EX2.10/2_10.sce new file mode 100755 index 000000000..3541ec5da --- /dev/null +++ b/1109/CH2/EX2.10/2_10.sce @@ -0,0 +1,19 @@ +clear;
+clc;
+f=20*(10^6);l=32;Zsc=17+(%i*19.4);Zoc=115-(%i*138);
+Zo=sqrt(Zoc*Zsc);
+X=real(Zo);
+Y=imag(Zo);
+printf("-Characteristic impedance = %f /_ %f ohms\n",round(abs(Zo)),round(atan(Y,X)*180*10/%pi)/10);
+Z1=sqrt(Zsc/Zoc);
+A=real(Z1);
+B=imag(Z1);
+D=(1+A+(%i*B))/(1-(A+(%i*B)));
+r=sqrt(((real(D))^2)+((imag(D))^2));
+theta=atan((imag(D))/(real(D)));
+n=6;
+P=(1/(2*l))*((log(r))+(%i*(theta+(2*n*%pi))));
+b=imag(P);
+a=real(P);
+printf("-Attenuation factor = %f neper/m\n",round(a*10000)/10000);
+printf("-Phase propagation factor = %f radians/m",round(b*100)/100);
|