summaryrefslogtreecommitdiff
path: root/1109/CH1/EX1.5/1_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1109/CH1/EX1.5/1_5.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 '1109/CH1/EX1.5/1_5.sce')
-rwxr-xr-x1109/CH1/EX1.5/1_5.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1109/CH1/EX1.5/1_5.sce b/1109/CH1/EX1.5/1_5.sce
new file mode 100755
index 000000000..9ec7c003d
--- /dev/null
+++ b/1109/CH1/EX1.5/1_5.sce
@@ -0,0 +1,20 @@
+clear;
+clc;
+f=1000;R=10.4;L=.0037;G=.8*(10^-6);C=.00835*(10^-6);l=1000;Vs=1;
+w=2*%pi*f;
+Z=R+round((%i*w*L));
+Y=G+(%i*w*C);
+Zo=sqrt(Z/Y);
+printf('-Characteristic impedance is Zo = %f /_%f ohms\n',fix(abs(Zo)),round(((atan(imag(Zo),real(Zo))*180/%pi))));
+P=sqrt(Z*Y);
+printf('-Propagation constant P = %f + j(%f)\n',fix(real(P)*10^4)/10^4,round(imag(P)*10^4)/10^4);
+b=imag(P);
+
+Is=Vs/Zo;Vp=(w/b)*(10^-5);v=round(Vp*100)/100;
+printf('-Phase velocity Vp = %f * 10^5 km/sec\n',v);
+Ir=Is*exp(-P*l);
+P=((abs(Ir))^2)*real(Zo);
+printf("-Power delivered at receiving end = %f micro-watt",P*(10^6));
+
+
+