---
title: "Problem set 9: imaging, therapy, safety, evaluation and device design"
heading: "Problem set 9: ultrasound echoes, attenuation and resolution, MRI frequencies, contrast and encoding, tracer decay, stimulation thresholds, pacing energy and defibrillation, dialysis and ventilation, shock and leakage currents, predictive values, and power budgets and reliability"
eyebrow: S15 · Problem set 9
type: problems
---

::: hook
These problems cover lessons 40, 41, 43 and 45 to 48: reflections at tissue boundaries, echo depths, attenuation and frame rates, matching layers, Larmor frequencies, polarization, spin-echo contrast, gradients and slices, tracer decay, strength–duration thresholds, pacemaker and defibrillator energy, dialysis clearance and Kt/V, body and leakage currents, sensitivity, specificity and predictive values, ground-potential differences, duty-cycled power, radio energy, SAR and reliability.
:::

::: pool
pick: 12

::: check
kind: parts
given: a = 1.38 | 1.63; b = 1.75 | 7.8; t = 40 | 150

## Ultrasound crosses from {a} MRayl into {b} MRayl; another echo returns after {t} µs.

::: part
answer: ((b - a)/(b + a))^2
tolerance: 0.5%

### Reflected intensity fraction?

::: misses
- [any] $((Z_2 - Z_1)/(Z_2 + Z_1))^2$.
:::
:::

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

### Transmitted fraction?

::: misses
- [any] One minus the reflection.
:::
:::

::: part
answer: 1540*t*1e-6/2*100
unit: cm
tolerance: 0.5%

### Depth of the second reflector?

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

::: check
kind: parts
given: a = 0.5 | 0.7; f = 3 | 7; R = 50 | 70; n = 2 | 3

## Tissue at {a} dB/(cm·MHz), a {f} MHz {n}-cycle pulse, {R} dB of dynamic range.

::: part
answer: R/(2*a*f)
unit: cm
tolerance: 0.5%

### Deepest imageable depth?

::: misses
- [any] Range over $2\alpha f$.
:::
:::

::: part
answer: n*1540/(f*1e6)/2*1000
unit: mm
tolerance: 0.5%

### Axial resolution?

::: misses
- [any] $n\lambda/2$.
:::
:::

::: part
answer: 1540/(2*R/(2*a*f)*1e-2*128)
tolerance: 0.5%

### Frame rate for 128 lines to that depth?

::: misses
- [any] $c/(2dN)$.
:::
:::
:::

::: check
kind: parts
given: B = 1.5 | 3; T = 300 | 310; G = 8 | 20; W = 50 | 100

## A {B} T scanner at {T} K with a {G} mT/m readout gradient and {W} kHz receiver bandwidth.

::: part
answer: 42.577*B
unit: MHz
tolerance: 0.5%

### Larmor frequency?

::: misses
- [any] 42.58 MHz/T.
:::
:::

::: part
answer: 6.62607015e-34*42.577e6*B/(2*1.380649e-23*T)*1e6
tolerance: 0.5%

### Polarization in ppm?

::: misses
- [any] $hf/(2kT)$.
:::
:::

::: part
answer: W*1e3/(42.577e6*G*1e-3)*100
unit: cm
tolerance: 0.5%

### Field of view?

::: misses
- [any] $\text{BW}/(\bar{\gamma}G)$.
:::
:::
:::

::: check
kind: parts
given: R = 450 | 3000; E = 20 | 90; a = 700 | 2500; b = 70 | 900

## A spin-echo sequence with TR = {R} ms and TE = {E} ms, for a tissue with T1 = {a} ms and T2 = {b} ms.

::: part
answer: (1 - exp(-R/a))*exp(-E/b)
tolerance: 0.5%

### Relative signal?

::: misses
- [any] $(1 - e^{-TR/T_1})e^{-TE/T_2}$.
:::
:::

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

### Fraction of the longitudinal magnetization recovered by each pulse?

::: misses
- [any] $1 - e^{-TR/T_1}$.
:::
:::
:::

::: check
kind: parts
given: W = 0.6 | 1.5; G = 6 | 15; A = 250 | 500; t = 45 | 120

## A {W} kHz RF pulse with a {G} mT/m slice gradient; {A} MBq of ¹⁸F (half-life 109.8 min).

::: part
answer: W*1e3/(42.577e6*G*1e-3)*1000
unit: mm
tolerance: 0.5%

### Slice thickness?

::: misses
- [any] $\Delta f/(\bar{\gamma}G)$.
:::
:::

::: part
answer: A*2^(-t/109.8)
unit: MBq
tolerance: 0.5%

### Activity after {t} min?

::: misses
- [any] $A_02^{-t/T_{1/2}}$.
:::
:::
:::

::: check
kind: parts
given: I = 0.8 | 1.5; c = 0.3 | 0.6; t = 0.15 | 0.5

## Heart muscle with rheobase {I} mA and chronaxie {c} ms, stimulated with {t} ms pulses into 500 Ω.

::: part
answer: I*(1 + c/t)
unit: mA
tolerance: 0.5%

### Threshold current?

::: misses
- [any] $I_{rh}(1 + c/t)$.
:::
:::

::: part
answer: (I*1e-3*(1 + c/t))^2*500*t*1e-3*1e6
unit: µJ
tolerance: 0.5%

### Pulse energy at threshold?

::: misses
- [any] $I^2Rt$.
:::
:::

::: part
answer: (I*1e-3*2)^2*500*c*1e-3*1e6
unit: µJ
tolerance: 0.5%

### Energy at the chronaxie instead?

::: misses
- [any] $(2I_{rh})^2Rc$.
:::
:::
:::

::: check
kind: parts
given: Q = 1 | 3; H = 60 | 90; i = 4 | 10; C = 1 | 2

## A pacemaker using {Q} µC per pulse at {H} per minute, with {i} µA of circuit current, on a {C} Ah cell.

::: part
answer: (Q*H/60 + i)
unit: µA
tolerance: 0.5%

### Average current?

::: misses
- [any] Pacing plus circuit current.
:::
:::

::: part
answer: C/((Q*1e-6*H/60 + i*1e-6)*24*365.25)
tolerance: 0.5%

### Battery life in years?

::: misses
- [any] Capacity over average current.
:::
:::
:::

::: check
kind: parts
given: C = 30 | 150; V = 1.5 | 4; R = 50 | 75; t = 3 | 8

## A defibrillator: {C} µF at {V} kV into {R} Ω, truncated after {t} ms.

::: part
answer: 0.5*C*1e-6*(V*1000)^2
unit: J
tolerance: 0.5%

### Stored energy?

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

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

### Peak current?

::: misses
- [any] V/R.
:::
:::

::: part
answer: 0.5*C*1e-6*(V*1000)^2*(1 - exp(-2*t*1e-3/(R*C*1e-6)))
unit: J
tolerance: 0.5%

### Energy delivered?

::: misses
- [any] Stored × $(1 - e^{-2t/RC})$.
:::
:::
:::

::: check
kind: parts
given: V = 120 | 230; f = 50 | 60; C = 1000 | 4000; g = 0.2 | 1; p = 1 | 5

## A device with {C} pF from its {V} V, {f} Hz supply to the case; ground resistance {g} Ω; a person offering {p} kΩ.

::: part
answer: V*2*pi*f*C*1e-12*1e6
unit: µA
tolerance: 0.5%

### Leakage current?

::: misses
- [any] $V2\pi fC$.
:::
:::

::: part
answer: V*2*pi*f*C*1e-12*1e6*g/(g + p*1000)
unit: µA
tolerance: 0.5%

### Current through the person with the ground intact?

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

::: check
kind: parts
given: d = 8 | 30; R = 400 | 800; V = 120 | 230; C = 15 | 50

## Grounds {d} mV apart across a {R} Ω catheter path; an isolated {V} V, 60 Hz system with {C} nF to ground.

::: part
answer: d*1e-3/R*1e6
unit: µA
tolerance: 0.5%

### Catheter current?

::: misses
- [any] ΔV/R.
:::
:::

::: part
answer: V*2*pi*60*C*1e-9*1e3
unit: mA
tolerance: 0.5%

### Hazard current?

::: misses
- [any] $V2\pi fC$.
:::
:::
:::

::: check
kind: parts
given: a = 3 | 12; s = 2 | 10; D = 0.002 | 0.02; C = 150 | 500

## A wearable with {a} mA active, {s} µA asleep, duty {D}, on a {C} mAh cell.

::: part
answer: (a*1e-3*D + s*1e-6*(1 - D))*1e6
unit: µA
tolerance: 0.5%

### Average current?

::: misses
- [any] $I_aD + I_s(1 - D)$.
:::
:::

::: part
answer: C/((a*1e-3*D + s*1e-6*(1 - D))*1e3)/24
tolerance: 0.5%

### Life in days?

::: misses
- [any] Capacity over current.
:::
:::
:::

::: check
kind: parts
given: f = 250 | 500; b = 16 | 24; e = 5 | 20; s = 0.4 | 1; E = 20 | 50; M = 30 | 100; t = 3 | 8

## A {f} sample/s, {b}-bit stream at {e} nJ/bit; tissue (σ = {s} S/m, ρ = 1000 kg/m³) in a {E} V/m field; an MTBF of {M} years.

::: part
answer: f*b*86400*e*1e-9
unit: J
tolerance: 0.5%

### Radio energy per day?

::: misses
- [any] Bits × energy per bit.
:::
:::

::: part
answer: s*E^2/1000
unit: W/kg
tolerance: 0.5%

### SAR?

::: misses
- [any] $\sigma E^2/\rho$.
:::
:::

::: part
answer: exp(-t/M)
tolerance: 0.5%

### Probability of surviving {t} years?

::: misses
- [any] $e^{-t/\text{MTBF}}$.
:::
:::
:::

::: check
kind: parts
given: Q = 250 | 350; a = 90 | 120; b = 25 | 40; t = 3.5 | 4; W = 65 | 85

## A dialyzer runs at {Q} mL/min of blood flow, lowering urea from {a} to {b} mg/dL across it, for a {t}-hour session on a {W} kg patient (body water 58% of weight).

::: part
answer: Q*(a - b)/a
unit: mL/min
tolerance: 0.5%

### Clearance, in mL/min?

::: misses
- [any] $Q_B(C_\text{in} - C_\text{out})/C_\text{in}$.
:::
:::

::: part
answer: Q*(a - b)/a*t*60/1000/(0.58*W)
tolerance: 0.5%

### Kt/V?

::: misses
- [any] Clearance times time over the water volume.
:::
:::

::: part
answer: 100*(1 - exp(-Q*(a - b)/a*t*60/1000/(0.58*W)))
unit: %
tolerance: 0.5%

### Urea reduction ratio, ignoring generation?

::: misses
- [any] $1 - e^{-Kt/V}$.
:::
:::
:::

::: check
kind: parts
given: s = 0.9 | 0.97; c = 0.85 | 0.95 | 0.99; p = 0.01 | 0.1

## A screening test has sensitivity {s} and specificity {c}, used where the prevalence is {p}.

::: part
answer: 100*s*p/(s*p + (1 - c)*(1 - p))
unit: %
tolerance: 0.5%

### Positive predictive value?

::: misses
- [any] Bayes: true positives over all positives.
:::
:::

::: part
answer: s/(1 - c)
tolerance: 0.5%

### Positive likelihood ratio?

::: misses
- [any] sens/(1 − spec).
:::
:::

::: part
answer: 1000*(s*p + (1 - c)*(1 - p))
tolerance: 0.5%

### Out of 1000 people screened, how many test positive?

::: misses
- [any] True positives plus false positives.
:::
:::
:::

::: check
kind: parts
given: p = 0.85 | 0.9 | 0.95; m = 0.03 | 0.05; q = 0.02 | 0.1

## A study must estimate a sensitivity near {p} with a 95% confidence half-width of {m}, in a condition of prevalence {q}.

::: part
answer: 1.96^2*p*(1 - p)/m^2
unit: patients
tolerance: 1%

### How many patients with the condition does it need?

::: misses
- [any] $1.96^2p(1 - p)/m^2$.
:::
:::

::: part
answer: 1.96^2*p*(1 - p)/m^2/q
unit: people
tolerance: 1%

### How many people would an unselected study screen?

::: misses
- [any] Divide by the prevalence.
:::
:::
:::
:::
