PRACTICAL MATLAB® FOR ENGINEERS PRACTICAL MATLAB

(sharon) #1

Alternating Current Analysis 269


ANALYTICAL Solution

XC() = −j 5

XL() = j 2

XXX
XX
XX

jj
CL jj j
CL
CL

() ()//()
() ()
() ()

 (













52
52

10
3

ΩΩ)

X() = j ___^103


ZXR
XR
XR

j
j

() ()// j
()
()

. *
.


 ..(










333 4
333 4

1 639 1 967 Ω)

and

Y(ω) = ____Z(^1 ω (^) )
Y
j
j
() j
.
.
 ..()


333 4
13 32
025 3 sie
MATLAB Solution
% Script file: Z
Y
W = 1;
C = 1/5;
L = 2;
R = 4;
XC = -j/(WC);
XL = j
WL;
X = XC
XL/(XC+XL);
Z = X*R/(X+R);
Y = 1/Z;
disp(‘^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^’)
disp(‘The impedance Z (in Ohms) and admittance (in Siemens) are given
by :’);
Z,Y,
disp(‘^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^’)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The impedance Z (in Ohms) and admittance (in Siemens) are given by:
Z =
1.6393 + 1.9672
Y =
0.2500 - 0.3000i
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Example 3.3
Evaluate the impedance Z of the circuit of Figure 3.51 for ω = 10 rad/s by hand, and by
creating the script fi le imp_Z.

Free download pdf