---
title: Final exam
heading: "Final exam: frequency response and filters"
eyebrow: C4 · Final exam
type: problems
---

::: hook
Twelve problems from the whole course: transfer functions, Bode plots and delay, filter types and orders, Chebyshev and Butterworth design, ladders and transformations, active stages, loading, noise and anti-aliasing. Give yourself three hours, work without the lessons open, and write out your reasoning before checking each answer. "Another set" deals a different exam.
:::

::: pool
pick: 12

::: check
kind: parts
given: R = 1 | 10; C = 10 | 100; f = 0.2 | 5

## An RC low-pass has R = {R} kΩ and C = {C} nF.

::: part
answer: 20*log(abs(1/(1 + j*2*pi*f*1000*R*1000*C*1e-9)))
unit: dB
tolerance: 0.5%

### What is its gain at {f} kHz?

::: misses
- [any] $|1/(1 + j\omega RC)|$.
:::
:::

::: part
answer: R*C/(1 + (2*pi*f*1000*R*1000*C*1e-9)^2)
unit: µs
tolerance: 0.5%

### What is its group delay there?

::: misses
- [any] $\tau/(1 + (\omega\tau)^2)$.
:::
:::
:::

::: check
kind: parts
given: K = 10 | 100; f1 = 0.1 | 1; f2 = 10 | 100; f = 1000 | 10000

## $H$ has DC gain {K}, a pole at {f1} kHz and a second pole at {f2} kHz.

::: part
answer: 20*log(K)
unit: dB
tolerance: 0.5%

### What is the low-frequency gain in dB?

::: misses
- [any] $20\log_{10}K$.
:::
:::

::: part
answer: 20*log(K) - 20*log(f2/f1) - 40*log(f/f2)
unit: dB
tolerance: 0.5%

### What does the straight-line sketch give at {f} kHz?

::: misses
- [any] −20 dB/decade between the poles, −40 above.
:::
:::
:::

::: check
kind: parts
given: f0 = 1 | 10; Q = 0.5 | 2 | 10

## A band-pass has $f_0$ = {f0} kHz and Q = {Q}.

::: part
answer: f0*1000/Q
unit: Hz
tolerance: 0.5%

### What is its bandwidth?

::: misses
- [any] $f_0/Q$.
:::
:::

::: part
answer: f0*1000*(sqrt(1 + 1/(4*Q^2)) + 1/(2*Q))
unit: Hz
tolerance: 0.5%

### What is its upper −3 dB edge?

::: misses
- [any] Exact half-power formula.
:::
:::
:::

::: check
kind: parts
given: As = 40 | 60; r = 2 | 5; Ap = 3 | 0.5

## A low-pass may lose {Ap} dB in its passband and must lose {As} dB at {r} times the edge.

::: part
answer: ceil(log((10^(As/10) - 1)/(10^(Ap/10) - 1))/(2*log(r)))
tolerance: 0.1%

### What Butterworth order is needed?

::: misses
- [any] The Butterworth order formula.
:::
:::

::: part
answer: 20*ceil(log((10^(As/10) - 1)/(10^(Ap/10) - 1))/(2*log(r)))
unit: dB
tolerance: 0.5%

### How many dB per decade does it then fall far above the edge?

::: misses
- [any] $20n$.
:::
:::
:::

::: check
kind: parts
given: n = 3 | 4; Ap = 0.5 | 1; r = 1.5 | 3

## An order-{n} Chebyshev filter has {Ap} dB of ripple.

::: part
answer: 10*log(1 + (10^(Ap/10) - 1)*cosh(n*ln(r + sqrt(r^2 - 1)))^2)
unit: dB
tolerance: 0.5%

### How far down is it at {r} times its edge?

::: misses
- [any] $10\log_{10}(1 + \varepsilon^2T_n^2)$.
:::
:::

::: part
answer: -Ap*(1 + (-1)^n)/2
unit: dB
tolerance: 0.001

### What is its DC gain?

::: misses
- [any] Even orders start at $-A_p$.
:::
:::
:::

::: check
kind: parts
given: g = 0.765 | 1.848; R = 50 | 600; fc = 0.01 | 10

## A fourth-order Butterworth ladder element with g = {g} is scaled to {R} Ω and {fc} MHz.

::: part
answer: g/(2*pi*fc*1e6*R)*1e12
unit: pF
tolerance: 0.5%

### If it's a shunt capacitor, what value results?

::: misses
- [any] $g/(\omega_cR_0)$.
:::
:::

::: part
answer: g*R/(2*pi*fc*1e6)*1e6
unit: µH
tolerance: 0.5%

### If it's a series inductor?

::: misses
- [any] $gR_0/\omega_c$.
:::
:::
:::

::: check
kind: parts
given: g = 1 | 2; R = 50 | 75; fc = 1 | 30

## A prototype element g = {g} goes into a {R} Ω high-pass at {fc} MHz.

::: part
answer: R/(2*pi*fc*1e6*g)*1e9
unit: nH
tolerance: 0.5%

### What inductor replaces a prototype shunt capacitor?

::: misses
- [any] $R_0/(\omega_cg)$.
:::
:::

::: part
answer: 1/(2*pi*fc*1e6*g*R)*1e12
unit: pF
tolerance: 0.5%

### What capacitor replaces a prototype series inductor?

::: misses
- [any] $1/(\omega_cgR_0)$.
:::
:::
:::

::: check
kind: parts
given: R = 4.7 | 22; C1 = 33 | 68; C2 = 3.3 | 15

## An equal-resistor Sallen-Key low-pass uses R = {R} kΩ, $C_1$ = {C1} nF, $C_2$ = {C2} nF.

::: part
answer: 1/(2*pi*R*1000*sqrt(C1*C2)*1e-9)
unit: Hz
tolerance: 0.5%

### What is $f_0$?

::: misses
- [any] $1/(2\pi R\sqrt{C_1C_2})$.
:::
:::

::: part
answer: 0.5*sqrt(C1/C2)
tolerance: 0.5%

### What is Q?

::: misses
- [any] $\frac12\sqrt{C_1/C_2}$.
:::
:::
:::

::: check
kind: parts
given: f0 = 50 | 60 | 400; R = 4.7 | 10

## A twin-T notch with R = {R} kΩ must null {f0} Hz.

::: part
answer: 1/(2*pi*f0*R*1000)*1e9
unit: nF
tolerance: 0.5%

### What capacitor C does it need?

::: misses
- [any] $1/(2\pi f_0R)$.
:::
:::

::: part
answer: 2/(2*pi*f0*R*1000)*1e9
unit: nF
tolerance: 0.5%

### What is the 2C capacitor in its other T?

::: misses
- [any] Twice C.
:::
:::
:::

::: check
kind: parts
given: z = 0.3 | 0.7; f0 = 1 | 5

## A pair of poles has ζ = {z} and $f_0$ = {f0} kHz.

::: part
answer: 1/(2*z)
tolerance: 0.5%

### What Q does it have?

::: misses
- [any] $1/2\zeta$.
:::
:::

::: part
answer: acos(z)*180/pi
unit: °
tolerance: 0.5%

### How far, in degrees, is it from the negative real axis?

::: misses
- [any] $\cos\theta = \zeta$.
:::
:::
:::

::: check
kind: parts
given: R = 2 | 10; Rs = 1 | 5; C = 10 | 47; RL = 20 | 100

## An RC low-pass (R = {R} kΩ, C = {C} nF) is driven from {Rs} kΩ and loaded by {RL} kΩ.

::: part
answer: RL/(R + Rs + RL)
tolerance: 0.5%

### What is its DC gain?

::: misses
- [any] A divider.
:::
:::

::: part
answer: 1/(2*pi*((R + Rs)*RL/(R + Rs + RL))*1000*C*1e-9)
unit: Hz
tolerance: 0.5%

### Where is its corner?

::: misses
- [any] Thevenin resistance seen by C.
:::
:::
:::

::: check
kind: parts
given: R = 10 | 100; fc = 1 | 10; T = 300 | 350

## A {R} kΩ resistor's noise passes an RC low-pass at {fc} kHz, at {T} K.

::: part
answer: pi/2*fc
unit: kHz
tolerance: 0.5%

### What is the noise bandwidth?

::: misses
- [any] $\frac{\pi}{2}f_c$.
:::
:::

::: part
answer: sqrt(4*1.381e-23*T*R*1000*pi/2*fc*1000)*1e6
unit: µV
tolerance: 0.5%

### What noise comes out?

::: misses
- [any] $\sqrt{4kTRB_n}$.
:::
:::
:::

::: check
kind: parts
given: fs = 16 | 44.1; f = 10 | 27; N = 12 | 16

## A converter of {N} bits samples at {fs} kHz.

::: part
answer: abs(f - fs*round(f/fs))
unit: kHz
tolerance: 0.5%

### Where does a {f} kHz tone appear?

::: misses
- [any] Fold by the nearest multiple of $f_s$.
:::
:::

::: part
answer: 6.02*N + 1.76
unit: dB
tolerance: 0.5%

### How far down must it be filtered to sit below the resolution?

::: misses
- [any] $6.02N + 1.76$ dB.
:::
:::
:::

::: check
kind: parts
given: n = 3 | 5; tau = 0.5 | 2

## Compare an order-{n} Butterworth filter's highest stage Q with a first-order all-pass of τ = {tau} ms.

::: part
answer: 1/(2*sin(pi/(2*n)))
tolerance: 0.5%

### What is the filter's highest stage Q?

::: misses
- [any] $1/(2\sin(\pi/2n))$.
:::
:::

::: part
answer: 2*tau
unit: ms
tolerance: 0.5%

### What low-frequency delay does the all-pass add?

::: misses
- [any] $2\tau$.
:::
:::
:::

::: check
kind: parts
given: f = 0.5 | 5; Q = 0.5 | 0.707

## A second-order low-pass has f₀ = {f} kHz and Q = {Q}.

::: part
answer: 20*log(1/sqrt((1 - 100)^2 + (10/Q)^2))
unit: dB
tolerance: 0.5%

### What's its gain at 10 f₀?

::: misses
- [any] About −40 dB a decade above.
:::
:::

::: part
answer: Q
tolerance: 0.5%

### What's its gain at f₀?

::: misses
- [any] Q.
:::
:::
:::

::: check
kind: parts
given: s = 500 | 2500; d = 1500 | 5000

## A filter has poles at $-\given{s} \pm j\given{d}$ rad/s.

::: part
answer: sqrt(s^2 + d^2)
unit: rad/s
tolerance: 0.5%

### What's $\omega_0$?

::: misses
- [any] Distance from the origin.
:::
:::

::: part
answer: sqrt(s^2 + d^2)/(2*s)
tolerance: 0.5%

### What's Q?

::: misses
- [any] $\frac{\omega_0}{2\sigma}$.
:::
:::
:::
:::
