---
title: Final exam
heading: "Final exam: differential equations"
eyebrow: A8 · Final exam
type: problems
---

::: hook
Twelve problems from across the whole course: first-order equations and models, second-order systems, forced response, systems and stability, numerical methods and boundary value problems. 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: y0 = 2 | 4; k = 0.3 | -0.2; t = 2 | 5

## Separable equations.

::: part
answer: y0*exp(k*t)
tolerance: 0.5%

### Solve $\dot y = \given{k}y$, $y(0) = \given{y0}$. What is $y(\given{t})$?

::: misses
- [any] $y_0e^{kt}$.
:::
:::

::: part
answer: y0/(1 + 0.1*y0*t)
tolerance: 0.5%

### Solve $\dot y = -0.1y^2$, $y(0) = \given{y0}$. What is $y(\given{t})$?

::: misses
- [any] $\frac{y_0}{1 + 0.1y_0t}$.
:::
:::
:::

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

## A ramp of {k} V/ms drives an RC filter, $\tau$ = {tau} ms, from 0 V.

::: part
answer: k*tau
unit: V
tolerance: 0.5%

### Once settled, how far behind is the output?

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

::: part
answer: k*tau*exp(-1)
unit: V
tolerance: 0.5%

### At $t = \tau$, how far is the output from its settled path?

::: misses
- [any] $k\tau e^{-t/\tau}$.
:::
:::
:::

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

## $\dot y = \given{b}y(\given{a} - y)$.

::: part
answer: a

### Which equilibrium is stable?

::: misses
- [any] The one where $f' < 0$.
:::
:::

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

### What is its time constant?

::: misses
- [any] $|f'(a)| = ab$.
:::
:::
:::

::: check
kind: parts
given: P = 10 | 25; Rth = 2 | 4; Cth = 20 | 50

## A device dissipates {P} W with $R_\theta$ = {Rth} K/W, $C_\theta$ = {Cth} J/K, from 25 °C.

::: part
answer: 25 + P*Rth*(1 - exp(-30/(Rth*Cth)))
unit: °C
tolerance: 0.5%

### What is its temperature after 30 s?

::: misses
- [any] First-order rise toward $25 + PR_\theta$.
:::
:::

::: part
answer: Rth*Cth
unit: s

### What is its thermal time constant?

::: misses
- [any] $R_\theta C_\theta$.
:::
:::
:::

::: check
kind: parts
given: R = 50 | 200; L = 10 | 100; C = 0.1 | 1

## A series RLC: $R$ = {R} Ω, $L$ = {L} mH, $C$ = {C} µF.

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

### What is its damping ratio?

::: misses
- [any] $\frac{R}{2}\sqrt{C/L}$.
:::
:::

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

### What is its undamped natural frequency?

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

::: check
kind: parts
given: zeta = 0.1 | 0.15 | 0.2 | 0.3 | 0.35 | 0.5 | 0.7

## A second-order system has $\zeta$ = {zeta}.

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

### What is its step overshoot, in percent?

::: misses
- [any] $100e^{-\pi\zeta/\sqrt{1 - \zeta^2}}$.
:::
:::

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

### What is its $Q$?

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

::: check
kind: parts
given: y0 = 1 | 2; v0 = 0 | 3

## $\ddot y + 6\dot y + 9y = 0$ with $y(0) = \given{y0}$, $\dot y(0) = \given{v0}$.

::: part
answer: v0 + 3*y0

### In $y = (c_1 + c_2t)e^{-3t}$, what is $c_2$?

::: misses
- [v0] The $e^{-3t}$ factor contributes $-3c_1$ to the slope.
- [any] $c_2 = v_0 - ry_0$ with $r = -3$.
:::
:::

::: part
answer: (y0 + (v0 + 3*y0)*0.5)*exp(-1.5)
tolerance: 0.5%

### What is $y(0.5)$?

::: misses
- [any] Evaluate the solution.
:::
:::
:::

::: check
kind: parts
given: p = 2 | 4; q = 10 | 20; w = 2 | 3

## $\ddot y + \given{p}\dot y + \given{q}y = \cos(\given{w}t)$.

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

### What is the steady-state amplitude?

::: misses
- [any] $\frac{1}{\sqrt{(q - \omega^2)^2 + (p\omega)^2}}$.
:::
:::

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

### What would it be for a constant input of 1?

::: misses
- [any] $1/q$.
:::
:::
:::

::: check
kind: parts
given: a = 1 | 3; b = 5 | 6; t = 0.5 | 1

## A system has roots $-\given{a}$ and $-\given{b}$.

::: part
answer: (exp(-a*t) - exp(-b*t))/(b - a)
tolerance: 0.5%

### What is its impulse response at $t$ = {t}?

::: misses
- [any] $\frac{e^{-at} - e^{-bt}}{b - a}$.
:::
:::

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

### Driven by $e^{-\given{a}t}$, what is $A$ in $y_p = Ate^{-\given{a}t}$?

::: misses
- [any] $\frac{1}{2r + p}$.
:::
:::
:::

::: check
kind: parts
given: T = -2 | -4; D = 5 | 20

## A linear system has trace {T} and determinant {D}.

::: part
answer: T/2
tolerance: 0.5%

### What is the real part of its eigenvalues?

::: misses
- [any] $T/2$.
:::
:::

::: part
answer: sqrt(D - T^2/4)
tolerance: 0.5%

### At what angular frequency do trajectories wind?

::: misses
- [any] $\sqrt{D - T^2/4}$.
:::
:::
:::

::: check
kind: parts
given: k = 9 | 16; c = 1 | 2

## A damped pendulum: $\dot x = y$, $\dot y = -\given{k}\sin x - \given{c}y$.

::: part
answer: (-c + sqrt(c^2 + 4*k))/2
tolerance: 0.5%

### Upside down, at what rate does a tilt grow?

::: misses
- [any] $\lambda^2 + c\lambda - k = 0$.
:::
:::

::: part
answer: sqrt(k - c^2/4)
tolerance: 0.5%

### Hanging down, at what angular frequency does it swing?

::: misses
- [any] $\lambda^2 + c\lambda + k = 0$.
:::
:::
:::

::: check
kind: parts
given: tau = 1 | 5; T = 2 | 10

## A circuit has time constants {tau} µs and {T} s.

::: part
answer: 2*tau
unit: µs

### What is forward Euler's largest stable step?

::: misses
- [any] $2\tau_\text{fast}$.
:::
:::

::: part
answer: 5*T/(2*tau*1e-6)

### How many such steps to simulate 5 slow time constants?

::: misses
- [any] $\frac{5\tau_s}{2\tau_f}$.
:::
:::
:::

::: check
kind: parts
given: a2 = 3 | 5; a1 = 4 | 6; K = 1 | 3

## A loop has characteristic polynomial $s^3 + \given{a2}s^2 + \given{a1}s + \given{K}$.

::: part
answer: a2*a1 - K

### By how much could $K$ grow before the loop oscillates?

::: misses
- [any] The limit is $a_2a_1$.
:::
:::

::: part
answer: sqrt(a1)
tolerance: 0.5%

### At what angular frequency would it oscillate?

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

::: check
kind: parts
given: v = 1.5e8 | 2e8; L = 2 | 5; q = 4 | 8

## Boundary value problems.

::: part
answer: v/(2*L)/1e6
unit: MHz
tolerance: 0.5%

### What is the lowest resonance of a line {L} m long, wave speed {v} m/s, shorted at both ends?

::: misses
- [any] $\frac{v}{2L}$.
:::
:::

::: part
answer: q*L^2/8
tolerance: 0.5%

### $y'' = -\given{q}$ on $[0, \given{L}]$ with zero ends. What is the largest $y$?

::: misses
- [any] $\frac{qL^2}{8}$.
:::
:::
:::

::: check
kind: parts
given: y0 = 1 | 2; v0 = 1 | 4

## Solve $\ddot y + 3\dot y + 2y = 0$ with $y(0)$ = {y0}, $\dot y(0)$ = {v0} by Laplace transform.

::: part
answer: 2*y0 + v0
tolerance: 0.5%

### What is the coefficient of $e^{-t}$?

::: misses
- [any] $Y = \frac{(s + 3)y_0 + v_0}{(s + 1)(s + 2)}$.
:::
:::

::: part
answer: -(y0 + v0)
tolerance: 0.5%

### And of $e^{-2t}$?

::: misses
- [any] Cover up $s + 2$ and set $s = -2$.
:::
:::
:::

::: check
kind: parts
given: a = 1 | 4; c = 0.5 | 2

## $\ddot x = \given{a}x - x^3 - \given{c}\dot x$ has equilibria at 0 and $\pm\sqrt{\given{a}}$.

::: part
answer: -a
tolerance: 0.5%

### What is $\det J$ at the origin?

::: misses
- [a] $J = \begin{bmatrix}0 & 1\\a & -c\end{bmatrix}$ at the origin.
- [any] Negative: a saddle.
:::
:::

::: part
answer: 2*a
tolerance: 0.5%

### What is $\det J$ at $x = \sqrt{\given{a}}$?

::: misses
- [any] $\partial(ax - x^3)/\partial x = a - 3a = -2a$ there.
:::
:::
:::
:::
