HW 1 Soln
HW 1 Soln
No part of any book may be reproduced or transmitted by any means without the publisher’s prior permission. Use (other than qualified fair
use) in violation of the law or Terms of Service is prohibited. Violators will be prosecuted to the full extent of the law.
Solution: 25
20
Create the original waveform for the charge.
15
heaviside(t) = u(t) = unit step function.
10
Charge (C)
5
syms t
0
qt = (10+10*t)*(heaviside(t)-heaviside(t-2))...
-5
+ (110-40*t)*(heaviside(t-2)-heaviside(t-
3))... -10
+ (5-5*t)*(heaviside(t-3)-heaviside(t-5))... -15
+ (-270+50*t)*(heaviside(t-5)-heaviside(t- -20
0 1 2 3 4 5 6
6)); Time (s)
tt = 0:0.01:6;
qtt = subs(qt,t,tt);
figure
plot(tt,qtt,'b','LineWidth',3)
xlabel('Time (s)')
ylabel('Charge (C)')
grid on
Take the derivative of the charge waveform to find the current.
it = diff(qt,t);
itt = subs(it,t,tt);
figure
plot(tt,itt,'g','LineWidth',3)
xlabel('Time (s)')
ylabel('Current (A)')
grid on
axis([0 6 -60 60])
60
40
20
Current (A )
-20
-40
-60
0 1 2 3 4 5 6
Time (s)
Answer:
Shown above
Problem 1‐13
The 12‐V automobile battery in Figure P1‐13 has an output capacity of 100 ampere‐hours (Ah) when
connected to a head lamp that absorbs 200 watts of power. Assume the battery voltage is constant.
(a) Find the current supplied by the battery.
(b) How long can the battery power the headlight?
i
Solution:
% Part (a)
v = 12;
p = 200;
i = p/v
% Part (b)
w = 100;
t = w/i
i =
16.6667e+000
t =
6.0000e+000
Answer:
(a) i = 16.67 A
(b) t = 6 hours
Problem 2‐22
In Figure P 2‐22:
(a) Assign a voltage and current variable to every element.
(b) Use KVL to find the voltage across each resistor.
(c) Use Ohm's law to find the current through each resistor.
(d) Use KCL to find the current through each voltage source.
i6 50 Ω
v6
i4 100 Ω B i 5 100 Ω
A C
i1 v i2 v5 i3
4
5V 10V 5V
Solution:
(a) For each of the three resistors, the voltage positive sign is on the left and the negative sign is on the
right. The current flows from left to right through each element.
Element 1: 50‐Ω resistor.
Element 2: left 100‐Ω resistor.
Element 3: right 100‐Ω resistor.
The left voltage source is vS1, with iS1 flowing down.
The center voltage source is vS2, with iS2 flowing down.
The right voltage source is vS3, with iS3 flowing down.
(b) KVL equations:
vS1 v1 vS3 0
vS1 v2 vS 2 0
vS2 v3 vS3 0
clear all
format short eng
vs1 = 5;
vs2 = 10;
vs3 = 5;
v1 = vs1-vs3
v2 = vs1-vs2
v3 = vs2-vs3
v1 =
0.0000e-003
v2 =
-5.0000e+000
v3 =
5.0000e+000
(c) v = iR
i1 = v1/50
i2 = v2/100
i3 = v3/100
i1 =
0.0000e-003
i2 =
-50.0000e-003
i3 =
50.0000e-003
(d) KCL equations
i1 i2 iS1 0
i2 i3 iS2 0
i1 i3 iS3 0
is1 = -i1-i2
is2 = i2-i3
is3 = i1+i3
is1 =
50.0000e-003
is2 =
-100.0000e-003
is3 =
50.0000e-003
Answer:
(a) Presented above.
(b) v1 = 0 V, v2 = 5 V, and v3 = 5 V
(c) il = 0 mA, i2 = 50 mA, and i3 = 50 mA
(d) iS1 = 50 mA, iS2 = 100 mA, and iS3 = 50 mA
Problem 2‐31
In Figure P2‐31 find the equivalent resistance between terminals A‐B, A‐C, A‐D, B‐C, B‐D, and C‐D.
40 Ω 30 Ω
B 40 Ω C
60 Ω 80 Ω 10 Ω
D RC‐D is shown.
Solution:
For each pair of end terminals, combine the appropriate resistors in series and parallel to get the
equivalent resistance.
clear all
Rab = 1/(1/40 + 1/(40+80)) + 60
Rac = 1/(1/40 + 1/(40+80)) + 30
Rad = 1/(1/40 + 1/(40+80)) + 10
Rbc = 60 + 1/(1/(40+40) + 1/80) + 30
Rbd = 60 + 1/(1/(40+40) + 1/80) + 10
Rcd = 30 + 0 + 10
Rab =
90.0000e+000
Rac =
60.0000e+000
Rad =
40.0000e+000
Rbc =
130.0000e+000
Rbd =
110.0000e+000
Rcd =
40.0000e+000
Answer:
RAB = 90 Ω
RAC = 60 Ω
RAD = 40 Ω
RBC = 130 Ω
RBD = 110 Ω
RCD = 40 Ω
Problem 2‐69
Analog Voltmeter Design (A, D, E)
Figure P2‐69(a) shows a voltmeter circuit consisting of a D'Arsonval meter, two series resistors, and a
two‐position selector switch. A current of IFS = 400 μA produces full‐scale deflection of the D'Arsonval
meter, whose internal resistance is RM = 25 Ω.
(a) (D) Select the series resistance R1 and R2 so a voltage vx = 100 V produces full‐scale deflection when
the switch is in position A, and voltage vx = 10 V produces full‐scale deflection when the switch is in
position B.
(b) (A) What is the voltage across the 20‐kΩ resistor in Figure P2‐69(b)? What is the voltage when the
voltmeter in part (a) is set to position A and connected across the 20‐kΩ resistor? What is the
percentage error introduced connecting the voltmeter?
(c) (E) A different D'Arsonval meter is available with an internal resistance of 100 Ω and a full‐scale
deflection current of 100 μA. If the voltmeter in part (a) is redesigned using this D'Arsonval meter,
would the error found in part (b) be smaller or larger? Explain.
A
R1
vx B
R2
30 k
RM
50 V
20 k VM
(a) (b)
Solution:
(a) Solve for R2 first, such that a 10‐V input causes 400 A to flow through the two resistors. Then solve
for R1, such that a 100‐V input causes 400 A to flow through all three resistors.
clear all
IFS = 400e-6;
RM = 25;
Req10 = 10/IFS;
R2 = Req10 - RM
Req100 = 100/IFS;
R1 = Req100-Req10
R2 =
24.9750e+003
R1 =
225.0000e+003
(b) Using voltage division, the voltage across the 20‐kΩ resistor is 20 V when the voltmeter is not
connected. When the voltmeter is set in position A and connected in parallel to the 20‐kΩ resistor, it is
equivalent to placing a 250‐kΩ resistor in parallel with the 20‐kΩ resistor. We can then find the voltage
using voltage division and compute the error.
clear all
Req = 1/(1/20e3 + 1/250e3);
vM = Req*50/(Req + 30e3)
ErrorPercent = 100*(20-vM)/20
vM =
19.0840e+000
ErrorPercent =
4.5802e+000
(c) With a full‐scale deflection current of 100 A for an applied voltage of 100 V, (switch in position A,)
the total resistance of the meter must be 1 MΩ. The increased meter resistance will draw less current
when it is connected to the 20‐kΩ resistor and have a smaller impact on the voltage. The error will
decrease. The following calculations verify the results with numerical values.
clear all
Req = 1/(1/20e3 + 1/1e6);
vM = Req*50/(Req + 30e3)
ErrorPercent = 100*(20-vM)/20
vM =
19.7628e+000
ErrorPercent =
1.1858e+000
Answer:
(a) R1 = 225 kΩ and R2 = 24.975 kΩ.
(b) vACTUAL = 20 V, vMEAS = 19.084 V, Error = 4.58%
(c) The error will be smaller as explained and verified above.