---
title: Problem set 2
heading: "Problem set 2: Q, order and response types"
eyebrow: C4 · Problem set 2
type: problems
---

::: hook
These problems use lessons 6 to 9: resonance and Q, filter order and roll-off, turning a specification into an order, and the Chebyshev, elliptic and Bessel responses.
:::

::: pool
pick: 12

::: check
kind: parts
given: f0 = 0.5 | 5; Q = 5 | 30

## A resonator rings at {f0} kHz with Q = {Q}.

::: part
answer: Q/(pi*f0*1000)*1000
unit: ms
tolerance: 0.5%

### What is the time constant of its decay envelope, $2Q/\omega_0$?

::: misses
- [any] $1/\alpha$ with $\alpha = \omega_0/2Q$.
:::
:::

::: part
answer: Q/pi
tolerance: 0.5%

### Over how many cycles does the amplitude fall by $e$?

::: misses
- [any] $f_0 \times 2Q/\omega_0 = Q/\pi$.
:::
:::
:::

::: check
kind: parts
given: E = 1 | 10; P = 0.1 | 1; f0 = 1 | 10

## A resonator stores {E} µJ and dissipates {P} µW at {f0} kHz.

::: part
answer: 2*pi*f0*1000*E/P
tolerance: 0.5%

### What is its Q, $\omega_0E/P$?

::: misses
- [any] $Q = \omega_0E/P$.
:::
:::

::: part
answer: f0*1000*P/(2*pi*f0*1000*E)
unit: Hz
tolerance: 0.5%

### What is its bandwidth?

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

::: check
kind: parts
given: n = 1 | 2 | 4; fc = 1 | 10; f = 20 | 100

## {n} identical, buffered RC low-pass stages each have a corner at {fc} kHz.

::: part
answer: -10*n*log(2)
unit: dB
tolerance: 0.5%

### What is the cascade's gain at {fc} kHz?

::: misses
- [any] Each stage gives −3 dB there.
:::
:::

::: part
answer: -10*n*log(1 + (f/fc)^2)
unit: dB
tolerance: 0.5%

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

::: misses
- [any] $n$ times one stage's.
:::
:::
:::

::: check
kind: parts
given: n = 2 | 3 | 5; r = 2 | 10

## A Butterworth low-pass of order {n} has a 3 dB corner.

::: part
answer: 10*log(1 + r^(2*n))
unit: dB
tolerance: 0.5%

### How far down is it at {r} times the corner?

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

::: part
answer: 20*n
unit: dB
tolerance: 0.5%

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

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

::: check
kind: parts
given: As = 40 | 60 | 80; r = 3 | 10

## A low-pass (3 dB corner) must be {As} dB down at {r} times the corner.

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

### What Butterworth order does it need?

::: misses
- [any] Solve for $n$ and round up.
:::
:::

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

### How far down is that order at {r} times the corner?

::: misses
- [any] With the rounded-up order, a little more than {As} dB.
:::
:::
:::

::: check
kind: parts
given: Ap = 0.5 | 1; As = 40 | 60; r = 2 | 4

## A specification allows {Ap} dB in the passband and needs {As} dB at {r} times the passband edge.

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

### What Butterworth order meets it?

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

::: part
answer: ceil(ln(sqrt((10^(As/10) - 1)/(10^(Ap/10) - 1)) + sqrt((10^(As/10) - 1)/(10^(Ap/10) - 1) - 1))/ln(r + sqrt(r^2 - 1)))
tolerance: 0.1%

### What Chebyshev order meets it?

::: misses
- [any] The Chebyshev order formula, with $\cosh^{-1}$.
:::
:::
:::

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

## 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 the passband edge?

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

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

### What is its gain at DC?

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

::: check
kind: parts
given: x = 1.2 | 2 | 3; n = 2 | 4

## Evaluate the Chebyshev polynomial of order {n} at x = {x}.

::: part
answer: cosh(n*ln(x + sqrt(x^2 - 1)))
tolerance: 0.5%

### What is $T_n(x)$?

::: misses
- [any] $\cosh(n\cosh^{-1}x)$.
:::
:::

::: part
answer: 2^(n - 1)*x^n
tolerance: 0.5%

### What does the large-$x$ approximation $2^{n-1}x^n$ give?

::: misses
- [any] $2^{n-1}x^n$.
:::
:::
:::

::: check
kind: parts
given: As = 40 | 60; n = 3 | 6

## A Butterworth filter of order {n} must reach {As} dB of attenuation.

::: part
answer: (10^(As/10) - 1)^(1/(2*n))
tolerance: 0.5%

### At how many times its corner does it get there?

::: misses
- [any] Solve $10\log_{10}(1 + r^{2n}) = A_s$.
:::
:::

::: part
answer: 10^(As/(20*n))
tolerance: 1%

### What does the asymptote alone, $20n$ dB per decade, predict?

::: misses
- [any] $10^{A_s/20n}$.
:::
:::
:::

::: check
kind: parts
given: Q = 0.577 | 0.707 | 1.3; f0 = 1 | 5

## A second-order low-pass has Q = {Q} at {f0} kHz.

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

### What is its gain at $f_0$?

::: misses
- [any] $|H(f_0)| = Q$.
:::
:::

::: part
answer: 100*exp(-(1/(2*Q))*pi/sqrt(1 - (1/(2*Q))^2))
tolerance: 1%

### What overshoot does its step response show, in percent?

::: misses
- [any] ζ = 1/2Q, then $e^{-\zeta\pi/\sqrt{1 - \zeta^2}}$.
:::
:::
:::

::: check
kind: parts
given: E = 2 | 20; d = 2 | 5; f = 0.5 | 5

## A resonator at {f} MHz stores {E} µJ and loses {d} nJ per cycle.

::: part
answer: 2*pi*E*1000/d
tolerance: 0.5%

### What's its Q?

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

::: part
answer: (2*pi*E*1000/d)/pi
tolerance: 0.5%

### After how many cycles has its amplitude fallen to 1/e?

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

::: check
kind: parts
given: A = 30 | 50 | 70; x = 2 | 5

## A Butterworth must reach {A} dB at {x} times its corner.

::: part
answer: log(10^(A/10) - 1)/(2*log(x))
tolerance: 0.5%

### What order, before rounding up?

::: misses
- [any] $\frac{\log(10^{A/10} - 1)}{2\log x}$.
:::
:::

::: part
answer: 10*log(1 + x^8)
unit: dB
tolerance: 0.5%

### What does a fourth-order filter give at {x} times?

::: misses
- [any] $10\log(1 + x^{2n})$.
:::
:::
:::

::: check
kind: parts
given: r = 0.25 | 1 | 3

## A Chebyshev filter has {r} dB of ripple.

::: part
answer: sqrt(10^(r/10) - 1)
tolerance: 0.5%

### What's ε?

::: misses
- [any] $\sqrt{10^{r/10} - 1}$.
:::
:::

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

### A fourth-order one: how far down at twice the ripple edge?

::: misses
- [any] $10\log(1 + \varepsilon^2T_4(2)^2)$.
:::
:::
:::

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

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

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

### Where's its −3 dB point, as a multiple of the ripple edge?

::: misses
- [any] $\cosh\left(\frac1n\text{arccosh}\frac1\varepsilon\right)$.
:::
:::

::: part
answer: -10*log(1 + 10^(r/10) - 1)
unit: dB
tolerance: 0.5%

### What's its gain at the bottom of a ripple?

::: misses
- [any] The ripple depth.
:::
:::
:::

::: check
kind: parts
given: R = 5 | 20; L = 0.5 | 2; C = 50 | 200

## A series RLC has {R} Ω, {L} mH and {C} nF.

::: part
answer: 1/(2*pi*sqrt(L*1e-3*C*1e-9))/1000
unit: kHz
tolerance: 0.5%

### What's its resonance?

::: misses
- [any] $\frac{1}{2\pi\sqrt{LC}}$.
:::
:::

::: part
answer: sqrt(L*1e-3/(C*1e-9))/R
tolerance: 0.5%

### What's its Q?

::: misses
- [any] $\frac1R\sqrt{L/C}$.
:::
:::
:::
:::
