---
title: Problem set 6
heading: "Problem set 6: forced responses and resonance"
eyebrow: A8 · Problem set 6
type: problems
---

::: hook
These problems use lessons 26 to 28: undetermined coefficients, variation of parameters and the impulse response, and resonance with and without damping. The forced response matches the input's form; the natural response matches the system's roots; the initial conditions decide how much of each.
:::

::: pool
pick: 12

::: check
kind: parts
given: p = 3 | 4; q = 2 | 5; K = 6 | 10

## $\ddot y + \given{p}\dot y + \given{q}y = \given{K}$ starts from rest.

::: part
answer: K/q
tolerance: 0.5%

### What does $y$ settle to?

::: misses
- [K] Divide by $q$.
- [any] Set the derivatives to zero.
:::
:::

::: part
answer: K
tolerance: 0.5%

### What is $\ddot y$ at $t = 0$?

::: misses
- [any] At rest, $y = \dot y = 0$, so $\ddot y = K$.
:::
:::
:::

::: check
kind: parts
given: p = 2 | 3; q = 2 | 5; c = 4 | 5

## Find $y_p = Ae^{-\given{c}t}$ for $\ddot y + \given{p}\dot y + \given{q}y = e^{-\given{c}t}$.

::: part
answer: 1/(c^2 - p*c + q)
tolerance: 0.5%

### What is $A$?

::: misses
- [1/(c^2 + p*c + q)] The derivative of $e^{-ct}$ brings $-c$, not $+c$.
- [any] Substitute: $A(c^2 - pc + q) = 1$.
:::
:::
:::

::: check
kind: parts
given: p = 2 | 4; q = 3 | 5

## Find $y_p = at + b$ for $\ddot y + \given{p}\dot y + \given{q}y = t$.

::: part
answer: 1/q
tolerance: 0.5%

### What is $a$?

::: misses
- [any] Match the $t$ terms: $qa = 1$.
:::
:::

::: part
answer: -p/q^2
tolerance: 0.5%

### What is $b$?

::: misses
- [p/q^2] Check the sign: $pa + qb = 0$.
- [any] Match the constants.
:::
:::
:::

::: check
kind: parts
given: p = 1 | 2; q = 4 | 9; w = 1 | 2.5

## Find $y_p = A\cos\given{w}t + B\sin\given{w}t$ for $\ddot y + \given{p}\dot y + \given{q}y = \cos\given{w}t$.

::: part
answer: (q - w^2)/((q - w^2)^2 + (p*w)^2)
tolerance: 0.5%

### What is $A$?

::: misses
- [any] Substituting gives $(q - \omega^2)A + p\omega B = 1$ and $-p\omega A + (q - \omega^2)B = 0$.
:::
:::

::: part
answer: p*w/((q - w^2)^2 + (p*w)^2)
tolerance: 0.5%

### What is $B$?

::: misses
- [any] Solve the 2 × 2 system.
:::
:::
:::

::: check
kind: parts
given: a = 1 | 2; b = 3 | 4

## A system with roots $-\given{a}$ and $-\given{b}$, $\ddot y + (\given{a} + \given{b})\dot y + \given{a}\cdot\given{b}\,y = e^{-\given{a}t}$, is driven at one of its own rates.

::: part
answer: 1/(b - a)
tolerance: 0.5%

### With $y_p = Cte^{-\given{a}t}$, what is $C$?

::: misses
- [1/(a - b)] Check the sign: $C(b - a) = 1$.
- [any] Substitute: the $e^{-at}$ terms cancel and $C(b - a)e^{-at}$ remains.
:::
:::
:::

::: check
kind: parts
given: w0 = 2 | 5; F = 1 | 3; A = 1 | 2

## $\ddot y + \given{w0}^2y = \given{F}\cos\given{w0}t$ from rest grows as $\frac{Ft}{2\omega_0}\sin\omega_0t$.

::: part
answer: 2*w0*A/F
unit: s
tolerance: 0.5%

### When does the envelope reach {A}?

::: misses
- [w0*A/F] The envelope is $\frac{Ft}{2\omega_0}$.
- [any] Solve $\frac{Ft}{2\omega_0} = A$.
:::
:::
:::

::: check
kind: parts
given: w0 = 2 | 3; w = 1 | 1.5

## $\ddot y + \given{w0}^2y = \cos\given{w}t$ from rest gives beats.

::: part
answer: 2/(w0^2 - w^2)
tolerance: 0.5%

### What is the largest $|y|$?

::: misses
- [1/(w0^2 - w^2)] The two terms add to twice that at the peaks of the beat.
- [any] $y = \frac{\cos\omega t - \cos\omega_0t}{\omega_0^2 - \omega^2}$.
:::
:::

::: part
answer: 2*pi/(w0 - w)
unit: s
tolerance: 0.5%

### What is the beat period?

::: misses
- [4*pi/(w0 - w)] The envelope's period; the loudness repeats twice per envelope cycle.
- [any] The time for the phase difference to grow by $2\pi$.
:::
:::
:::

::: check
kind: parts
given: z = 0.05 | 0.2; w0 = 2 | 10; F = 1 | 4

## $\ddot y + 2\given{z}\given{w0}\dot y + \given{w0}^2y = \given{F}\cos\given{w0}t$ is driven exactly at $\omega_0$.

::: part
answer: F/(2*z*w0^2)
tolerance: 0.5%

### What is the steady-state amplitude?

::: misses
- [F/w0^2] That's the static response; at resonance it's $Q$ times larger.
- [any] $\frac{F}{|j\cdot 2\zeta\omega_0^2|}$.
:::
:::

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

### How many times the static response is that?

::: misses
- [any] $Q = \frac{1}{2\zeta}$.
:::
:::
:::

::: check
kind: parts
given: f0 = 1 | 455; z = 0.01 | 0.05

## A resonator has $f_0$ = {f0} kHz and $\zeta$ = {z}.

::: part
answer: 2*z*f0
unit: kHz
tolerance: 0.5%

### What is its half-power bandwidth?

::: misses
- [z*f0] Bandwidth is $f_0/Q = 2\zeta f_0$.
- [any] $f_0/Q$.
:::
:::
:::

::: check
kind: parts
given: w = 2 | 3 | 5

## Variation of parameters for $\ddot y + \given{w}^2y = g$ uses $y_1 = \cos\given{w}t$ and $y_2 = \sin\given{w}t$.

::: part
answer: w
tolerance: 0.5%

### What is their Wronskian?

::: misses
- [1] Differentiating $\sin\omega t$ brings a factor $\omega$.
- [any] $y_1\dot y_2 - \dot y_1y_2 = \omega(\cos^2 + \sin^2)$.
:::
:::
:::

::: check
kind: parts
given: a = 1 | 2; b = 3 | 5

## A system with roots $-\given{a}$ and $-\given{b}$ has impulse response $h = \frac{e^{-at} - e^{-bt}}{b - a}$.

::: part
answer: ln(b/a)/(b - a)
tolerance: 0.5%

### When does $h$ peak?

::: misses
- [any] $\dot h = 0$: $ae^{-at} = be^{-bt}$.
:::
:::

::: part
answer: 1/(a*b)
tolerance: 0.5%

### What is $\int_0^\infty h\,dt$, the step response's final value?

::: misses
- [any] $\frac{1}{b - a}\left(\frac1a - \frac1b\right)$.
:::
:::
:::

::: check
kind: parts
given: q = 4 | 9; K = 2 | 5; w = 1 | 2

## $\ddot y + 2\dot y + \given{q}y = \given{K} + \cos\given{w}t$.

::: part
answer: K/q
tolerance: 0.5%

### What is the average of the steady state?

::: misses
- [any] By superposition, the constant input gives $K/q$.
:::
:::

::: part
answer: 1/sqrt((q - w^2)^2 + (2*w)^2)
tolerance: 0.5%

### What is the amplitude of its oscillating part?

::: misses
- [any] $\frac{1}{|q - \omega^2 + 2j\omega|}$.
:::
:::
:::

::: check
kind: parts
given: tau = 0.5 | 2; k = 1 | 3; t = 5 | 10

## A ramp $k t$ drives $\tau\dot y + y = kt$ from rest, with $\tau$ = {tau} and $k$ = {k}.

::: part
answer: k*(t - tau*(1 - exp(-t/tau)))
tolerance: 0.5%

### What is $y$ at $t$ = {t}?

::: misses
- [k*t] The output lags the ramp.
- [any] $y = k\left(t - \tau + \tau e^{-t/\tau}\right)$.
:::
:::

::: part
answer: tau
tolerance: 0.5%

### In the long run, how far behind the ramp, in time, does $y$ run?

::: misses
- [any] $y \to k(t - \tau)$.
:::
:::
:::

::: check
kind: parts
given: R = 10 | 47; L = 10 | 47; C = 0.1 | 1; V = 1 | 2

## A {V} V sine at resonance drives a series RLC ($R$ = {R} Ω, $L$ = {L} mH, $C$ = {C} µF).

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

### What is the capacitor's voltage amplitude?

::: misses
- [V] At resonance the current is $V/R$, and the capacitor's voltage is $Q$ times the source.
- [any] $V_C = QV$ with $Q = \frac1R\sqrt{L/C}$.
:::
:::

::: part
answer: V/R*1000
unit: mA
tolerance: 0.5%

### What is the current amplitude?

::: misses
- [any] The reactances cancel, leaving $R$.
:::
:::
:::

::: check
kind: parts
given: a = 2 | 3; T = 1 | 2

## $\dot y + \given{a}y = u$ from rest, with $u$ a unit pulse from 0 to {T}.

::: part
answer: (1 - exp(-a*T))/a
tolerance: 0.5%

### What is $y$ at the end of the pulse?

::: misses
- [1 - exp(-a*T)] The step response settles at $1/a$.
- [any] The step response $\frac1a(1 - e^{-at})$ at $t = T$.
:::
:::

::: part
answer: (1 - exp(-a*T))/a*exp(-a)
tolerance: 0.5%

### What is $y$ one unit of time later?

::: misses
- [any] It decays as $e^{-at}$ from there.
:::
:::
:::
:::
