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 /608/CH44/EX44.17 | |
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 '608/CH44/EX44.17')
-rwxr-xr-x | 608/CH44/EX44.17/44_17.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/608/CH44/EX44.17/44_17.sce b/608/CH44/EX44.17/44_17.sce new file mode 100755 index 000000000..12e9fcee1 --- /dev/null +++ b/608/CH44/EX44.17/44_17.sce @@ -0,0 +1,22 @@ +//Problem 44.17: A low-loss transmission line has a mismatched load such that the reflection coefficient at the termination is 0.2/_-120°. The characteristic impedance of the line is 80 ohm. Calculate (a) the standing-wave ratio, (b) the load impedance, and (c) the incident current flowing if the reflected current is 10 mA. + +//initializing the variables: +rp = 0.2; +thetap = -120; // in degrees +Zo = 80; // in ohm +Ir = 0.01; // in Amperes + +//calculation: +//reflection coefficient +p = rp*cos(thetap*%pi/180) + %i*rp*sin(thetap*%pi/180) +//standing-wave ratio, +s = (1 + rp)/(1 - rp) +//load impedance ZR +ZR = Zo*(1 - p)/(1 + p) +//incident current +Ii = Ir*(s + 1)/(s - 1) + +printf("\n\n Result \n\n") +printf("\n standing-wave ratio, s is %.1f",s) +printf("\n load impedance ZR is %.2f +(%.2f)i ohm",real(ZR), imag(ZR)) +printf("\n incident current is %.3f A",Ii) |