---
title: Problem set 5
heading: "Problem set 5: the whole course"
eyebrow: A3 · Problem set 5
type: problems
---

::: hook
Multi-step problems that use complex numbers the way circuits will, drawing on the whole course and especially lessons 23 to 25: three-phase arithmetic, signals at several frequencies, and notation. Each one has your own numbers.
:::

::: pool
pick: 12

::: check
kind: parts
given: A1 = 2..6 int; A2 = 2..6 int; A3 = 1..4 int

## Find $v_1 + v_2 + v_3$ for $v_1 = \given{A1}\cos\omega t$, $v_2 = \given{A2}\cos(\omega t + 90°)$ and $v_3 = \given{A3}\cos(\omega t + 180°)$.

::: part
answer: abs(A1 - A3 + j*A2)
tolerance: 1%

### What is its amplitude?

::: misses
- [A1 + A2 + A3] Only waves in phase add their amplitudes directly. Add the phasors.
- [abs(A1 + A3 + j*A2)] $v_3$ is 180° around: its phasor is $-\given{A3}$.
- [any] The phasors are {A1}, $j${A2} and $-${A3}. Add them, then find the length.
:::
:::

::: part
answer: arg(A1 - A3 + j*A2)*180/pi
unit: °
tolerance: 1%

### And its phase, between −180° and 180°?

::: misses
- [any] Find the angle of the summed phasor with atan2.
:::
:::

::: right
Right. Three waves, three arrows, one sum.
:::
:::

::: check
kind: parts
given: C = 100n..10µ E6 F; f = 50 | 1000 | 10000; V = 1..10 int; p = -30 | 0 | 45

## A {C} capacitor has the voltage phasor $\mathbf{V} = \given{V}\angle\given{p}°$ V at {f} Hz across it.

::: part
answer: 2*pi*f*C*V
unit: A
tolerance: 1%

### What is the magnitude of its current phasor?

::: misses
- [V/(2*pi*f*C)] $\mathbf{I} = j\omega C\mathbf{V}$: multiply by $\omega C$.
- [C*V] Multiply by $\omega = 2\pi f$ as well.
- [any] Use $|\mathbf{I}| = \omega C|\mathbf{V}|$.
:::
:::

::: part
answer: p + 90
unit: °
tolerance: 0.5%

### And its angle?

::: misses
- [p - 90] Multiplying by $j$ turns the phasor ahead: the current leads.
- [any] The factor $j$ adds 90°.
:::
:::

::: right
Right. A capacitor's current leads its voltage by a quarter cycle.
:::
:::

::: check
kind: parts
given: R = 1..9 int; X = 1..9 int; V = 5 | 10 | 12

## $\mathbf{V}_\text{out} = \given{V}\cdot\dfrac{-j\given{X}}{\given{R} - j\given{X}}$. (This is an RC voltage divider.)

::: part
answer: V*X/sqrt(R^2 + X^2)
tolerance: 1%

### What is the magnitude of $\mathbf{V}_\text{out}$?

::: misses
- [V*X/(R + X)] Magnitudes don't add: the bottom's magnitude is $\sqrt{R^2 + X^2}$.
- [any] Divide magnitudes: $|-jX| = X$ and $|R - jX| = \sqrt{R^2 + X^2}$.
:::
:::

::: part
answer: -90 - arg(R - j*X)*180/pi
unit: °
tolerance: 1%

### And its angle?

::: misses
- [-90] Subtract the bottom's angle too.
- [any] The top's angle is −90° and the bottom's is $\operatorname{atan2}(-X, R)$. Subtract.
:::
:::

::: right
Right. That's how a low-pass filter delays and shrinks a signal.
:::
:::

::: check
kind: parts
given: Vm = 50..170 sig 2; pv = -20 | 15 | 30; Im = 1..10 sig 2; pi1 = -60 | -40 | -10

## A load has $\mathbf{V} = \given{Vm}\angle\given{pv}°$ V and $\mathbf{I} = \given{Im}\angle\given{pi1}°$ A (amplitude phasors).

::: part
answer: 0.5*Vm*Im*cos((pv - pi1)°)
unit: W
tolerance: 1%

### What average power does it take?

::: misses
- [Vm*Im*cos((pv - pi1)°)] With amplitude phasors, multiply by ½.
- [0.5*Vm*Im*cos((pv + pi1)°)] The angle that matters is the difference, $\varphi_v - \varphi_i$.
- [any] $P = \tfrac12 V_m I_m\cos(\varphi_v - \varphi_i)$.
:::
:::

::: part
answer: cos((pv - pi1)°)
tolerance: 1%

### What is its power factor?

::: misses
- [any] The power factor is $\cos(\varphi_v - \varphi_i)$.
:::
:::

::: right
Right. The conjugate in $\tfrac12\operatorname{Re}(\mathbf{V}\mathbf{I}^*)$ is what subtracts the angles.
:::
:::

::: check
kind: parts
given: r1 = 2..5 int; a = 0.3..1.2 sig 2; r2 = 2..5 int; b = 0.2..1 sig 2

## Multiply $\given{r1}e^{j\given{a}}$ by $\given{r2}e^{j\given{b}}$ (angles in radians) and give the result in rectangular form.

::: part
answer: r1*r2*cos(a + b)
tolerance: 1%

### Real part?

::: misses
- [r1*r2*cos(a*b)] Exponents add when you multiply.
- [any] The product is $r_1r_2e^{j(a+b)}$; its real part is $r_1r_2\cos(a + b)$.
:::
:::

::: part
answer: r1*r2*sin(a + b)
tolerance: 1%

### Imaginary part?

::: misses
- [any] The imaginary part is $r_1r_2\sin(a + b)$.
:::
:::

::: right
Right. Lengths multiply, angles add.
:::
:::

::: check
kind: parts
given: a = 1 | 3 | 5 | 7; b = 2 | 4 | 6; c = 2 | 4; d = 1 | 3

## Work out $\dfrac{\given{a} + j\given{b}}{\given{c} - j\given{d}}$ in rectangular form.

::: part
answer: (a*c - b*d)/(c^2 + d^2)
tolerance: 1%

### Real part?

::: misses
- [(a*c + b*d)/(c^2 + d^2)] The conjugate of $\given{c} - j\given{d}$ is $\given{c} + j\given{d}$. Multiply out carefully.
- [any] Multiply the top and bottom by $\given{c} + j\given{d}$.
:::
:::

::: part
answer: (b*c + a*d)/(c^2 + d^2)
tolerance: 1%

### Imaginary part?

::: misses
- [(b*c - a*d)/(c^2 + d^2)] With $+j\given{d}$ from the conjugate, the cross term $\given{a}\cdot j\given{d}$ is positive.
- [any] Collect the $j$ terms of $(\given{a} + j\given{b})(\given{c} + j\given{d})$ and divide by $\given{c}^2 + \given{d}^2$.
:::
:::

::: right
Right. The bottom became real, $c^2 + d^2$.
:::
:::
::: check
kind: parts
given: Vp = 120 | 230 | 277

## A three-phase supply has {Vp} V from each phase to neutral.

::: part
answer: sqrt(3)*Vp
unit: V

### What is the voltage between two phases?

::: misses
- [2*Vp] The phases are 120° apart, not 180°.
- [any] $\sqrt3\,V_p$.
:::
:::

::: part
answer: 30
unit: °
tolerance: 0.2%

### By how many degrees does $V_{ab}$ lead $V_a$?

::: misses
- [60] Work out $1 - 1\angle{-120°}$ and its angle.
- [any] $V_a - V_b = \sqrt3 V_p\angle 30°$.
:::
:::
:::

::: check
kind: parts
given: I1 = 12 | 20; I2 = 9 | 15; I3 = 5 | 7

## A building's three phases carry {I1} A, {I2} A and {I3} A, each in phase with its own voltage.

::: part
answer: sqrt(I1^2 + I2^2 + I3^2 - I1*I2 - I2*I3 - I3*I1)
unit: A

### What current flows in the neutral?

::: misses
- [I1 + I2 + I3] Add them as phasors 120° apart.
- [any] $I_1\angle 0° + I_2\angle{-120°} + I_3\angle 120°$.
:::
:::

::: part
answer: arg(I1 + I2*exp(-j*2*pi/3) + I3*exp(j*2*pi/3))*180/pi
unit: °
tolerance: 0.5%

### At what angle is it, relative to phase a?

::: misses
- [any] The angle of the phasor sum.
:::
:::
:::

::: check
kind: parts
given: VL = 400 | 480; IL = 20 | 60; pf = 0.8 | 0.92

## A balanced three-phase load draws {IL} A per line at {VL} V line voltage, power factor {pf}.

::: part
answer: sqrt(3)*VL*IL*pf
unit: W

### What real power does it take?

::: misses
- [3*VL*IL*pf] With line quantities the factor is $\sqrt3$.
- [any] $\sqrt3\,V_LI_L\cos\varphi$.
:::
:::

::: part
answer: sqrt(3)*VL*IL*sqrt(1 - pf^2)
unit: var

### What reactive power?

::: misses
- [sqrt(3)*VL*IL*(1 - pf)] $\sin\varphi = \sqrt{1 - \cos^2\varphi}$.
- [any] $\sqrt3\,V_LI_L\sin\varphi$.
:::
:::
:::

::: check
kind: parts
given: V0 = 5 | 12; A = 0.5 | 2; R = 10 | 50

## A supply puts out {V0} V DC plus a {A} V amplitude ripple into a {R} Ω load.

::: part
answer: sqrt(V0^2 + A^2/2)
unit: V
tolerance: 0.1%

### What is the RMS voltage?

::: misses
- [V0 + A/sqrt(2)] Add squares.
- [any] $\sqrt{V_0^2 + A^2/2}$.
:::
:::

::: part
answer: (V0^2 + A^2/2)/R
unit: W
tolerance: 0.1%

### What average power does the load take?

::: misses
- [(V0 + A)^2/R] Powers at different frequencies add.
- [any] $V_{rms}^2/R$.
:::
:::
:::

::: check
kind: parts
given: fc = 200 | 1000; A1 = 1 | 2; f1 = 50 | 100; A2 = 1 | 3; f2 = 4000 | 8000

## A low-pass with its corner at {fc} Hz gets {A1} V at {f1} Hz plus {A2} V at {f2} Hz.

::: part
answer: A1/sqrt(1 + (f1/fc)^2)
unit: V
tolerance: 0.5%

### What amplitude of the {f1} Hz tone comes out?

::: misses
- [A1/sqrt(1 + (f2/fc)^2)] Each tone gets $|H|$ at its own frequency.
- [any] $A_1|H(f_1)|$.
:::
:::

::: part
answer: A2/sqrt(1 + (f2/fc)^2)
unit: V

### And of the {f2} Hz tone?

::: misses
- [A2] It's well above the corner.
- [any] $A_2|H(f_2)|$.
:::
:::
:::

::: check
kind: parts
given: r = 5 | 12; d = 30 | 150

## A phasor is written $\given{r}\angle\given{d}°$.

::: part
answer: d*pi/180
tolerance: 0.5%

### What angle do you give Python's `cmath.rect`, which wants radians?

::: misses
- [d] Python works in radians.
- [any] Multiply by $\pi/180$.
:::
:::

::: part
answer: r*cos(d*pi/180)
tolerance: 0.5%

### What real part does it print?

::: misses
- [r*cos(d)] That's what you'd get by passing degrees as radians.
- [any] $r\cos\theta$.
:::
:::
:::

::: check
kind: parts
given: VL = 400 | 480; Z = 20 | 50

## Three {Z} Ω resistors are connected in a delta across a three-phase supply of {VL} V (line, RMS).

::: part
answer: VL/Z
unit: A
tolerance: 0.5%

### What current flows in each resistor?

::: misses
- [VL/(sqrt(3)*Z)] In a delta, each resistor sits across a full line voltage.
- [any] Each resistor has {VL} V across it.
:::
:::

::: part
answer: sqrt(3)*VL/Z
unit: A
tolerance: 0.5%

### What current flows in each line?

::: misses
- [VL/Z] Each line feeds two resistors whose currents are 120° apart, so the line current is $\sqrt{3}$ times bigger.
- [2*VL/Z] The two currents aren't in phase.
- [any] $I_L = \sqrt{3}I_\text{phase}$ in a delta.
:::
:::

::: part
answer: 3*VL^2/Z
unit: W
tolerance: 0.5%

### What total power do they take?

::: misses
- [any] Three resistors, each taking $V_L^2/R$.
:::
:::
:::

::: check
kind: parts
given: I1 = 10 | 20; I3 = 2 | 4; I5 = 1 | 1.5; R = 2 | 5

## A power supply draws a current with a fundamental of {I1} A amplitude, a third harmonic of {I3} A and a fifth of {I5} A, through a wire of {R} Ω total.

::: part
answer: sqrt((I1^2 + I3^2 + I5^2)/2)
unit: A
tolerance: 0.5%

### What is the RMS current?

::: misses
- [(I1 + I3 + I5)/sqrt(2)] Different frequencies add as squares.
- [any] $\sqrt{\tfrac12(I_1^2 + I_3^2 + I_5^2)}$.
:::
:::

::: part
answer: 100*sqrt(I3^2 + I5^2)/I1
tolerance: 0.5%

### What is its total harmonic distortion, in percent? (THD is the RMS of the harmonics over the RMS of the fundamental.)

::: misses
- [100*(I3 + I5)/I1] The harmonics add as squares.
- [any] $\sqrt{I_3^2 + I_5^2}/I_1$.
:::
:::

::: part
answer: (I1^2 + I3^2 + I5^2)/2*R
unit: W
tolerance: 0.5%

### What power does the wire waste?

::: misses
- [I1^2/2*R] The harmonics heat the wire too.
- [any] $I_\text{rms}^2R$.
:::
:::
:::

::: check
kind: parts
given: I1 = 10 | 12; I2 = 8 | 10; a = 10 | 30; I3 = 6 | 9

## In a Y-connected load, phase 1 carries $\given{I1}\angle 0°$ A, phase 2 carries {I2} A lagging its voltage by {a}° (so at $-120° - \given{a}°$), and phase 3 carries $\given{I3}\angle 120°$ A.

::: part
answer: I1 + I2*cos((-120 - a)°) + I3*cos(120°)
unit: A
tolerance: 0.5%

### What is the real part of the neutral current, the sum of the three?

::: misses
- [any] Add $I\cos\theta$ for each phase.
:::
:::

::: part
answer: I2*sin((-120 - a)°) + I3*sin(120°)
unit: A
tolerance: 0.5%

### What is its imaginary part?

::: misses
- [any] Add $I\sin\theta$ for each phase.
:::
:::

::: part
answer: abs(I1 + I2*exp(-j*(120 + a)*pi/180) + I3*exp(j*120*pi/180))
unit: A
tolerance: 0.5%

### What is its amplitude?

::: misses
- [any] The length of the sum.
:::
:::
:::
:::
