---
title: Problem set 9
heading: "Problem set 9: accumulation and the fundamental theorem"
eyebrow: A5 · Problem set 9
type: problems
---

::: hook
These problems use lessons 41 to 43: integrals as accumulated charge and energy, Riemann sums and the definite integral, and the fundamental theorem. Keep units in view: amps integrated over seconds give coulombs, watts over seconds give joules.
:::

::: pool
pick: 12

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

## A current rises as $i = \given{a}t$ mA for {T} s.

::: part
answer: a*T^2/2
unit: mC
tolerance: 0.5%

### How much charge passes?

::: misses
- [a*T^2] The ramp is a triangle: half of $aT \cdot T$.
- [any] $\int_0^T at\,dt$.
:::
:::

::: part
answer: a*T/2
unit: mA
tolerance: 0.5%

### What is the average current?

::: misses
- [any] Charge over time.
:::
:::
:::

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

## A current decays as $\given{I0}e^{-t/\tau}$ mA with $\tau$ = {tau} ms.

::: part
answer: I0*tau*(1 - exp(-T/tau))
unit: µC
tolerance: 0.5%

### How much charge passes in the first {T} ms?

::: misses
- [I0*tau] That's the total for all time.
- [any] $\int_0^T I_0e^{-t/\tau}dt = I_0\tau(1 - e^{-T/\tau})$; mA × ms = µC.
:::
:::

::: part
answer: I0*tau
unit: µC
tolerance: 0.5%

### How much passes in total?

::: misses
- [any] Let $T \to \infty$.
:::
:::
:::

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

## Estimate $\int_0^{\given{a}}x^2\,dx$ with {n} slices.

::: part
answer: a^3*(n - 1)*(2*n - 1)/(6*n^2)
tolerance: 0.5%

### What is the left-endpoint sum?

::: misses
- [a^3*(n + 1)*(2*n + 1)/(6*n^2)] That's the right-endpoint sum.
- [any] Width $a/n$, heights $((k - 1)a/n)^2$ for $k = 1, \ldots, n$.
:::
:::

::: part
answer: a^3*(n + 1)*(2*n + 1)/(6*n^2)
tolerance: 0.5%

### What is the right-endpoint sum?

::: misses
- [any] Heights $(ka/n)^2$; use $\sum k^2 = \frac{n(n + 1)(2n + 1)}{6}$.
:::
:::

::: part
answer: a^3/3
tolerance: 0.5%

### What is the exact value?

::: misses
- [any] The fundamental theorem.
:::
:::
:::

::: check
kind: parts
given: a = 1 | 2; b = 3 | 5; c = 2 | 4; d = -1 | 3

## Evaluate $\displaystyle\int_{\given{a}}^{\given{b}}(\given{c}x + \given{d})\,dx$.

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

### What is it?

::: misses
- [c*(b^2 - a^2) + d*(b - a)] An antiderivative of $cx$ is $cx^2/2$.
- [any] $\left[\frac{c}{2}x^2 + dx\right]_a^b$.
:::
:::

::: part
answer: c*(a + b)/2 + d
tolerance: 0.5%

### What is the average of the integrand over the interval?

::: misses
- [any] The integral divided by $b - a$.
:::
:::
:::

::: check
kind: parts
given: x0 = 0.75 | 1 | 1.5

## Let $G(x) = \displaystyle\int_0^{x^2}\sin t\,dt$.

::: part
answer: 1 - cos(x0^2)
tolerance: 0.5%

### What is $G(\given{x0})$?

::: misses
- [any] Evaluate the integral: $-\cos t$ from 0 to $x^2$.
:::
:::

::: part
answer: 2*x0*sin(x0^2)
tolerance: 0.5%

### What is $G'(\given{x0})$?

::: misses
- [sin(x0^2)] The upper limit is $x^2$: multiply by its derivative, $2x$.
- [any] $f(g(x))g'(x)$.
:::
:::
:::

::: check
kind: parts
given: A = 2 | 5 | 10

## A rectified voltage is $|\given{A}\sin\theta|$.

::: part
answer: 2*A/pi
unit: V
tolerance: 0.5%

### What is its average value?

::: misses
- [A/2] The average of $\sin\theta$ over $[0, \pi]$ is $2/\pi$, not $\tfrac12$.
- [any] $\frac{1}{\pi}\int_0^\pi A\sin\theta\,d\theta$.
:::
:::

::: part
answer: A/sqrt(2)
unit: V
tolerance: 0.5%

### What is its RMS value?

::: misses
- [any] Rectifying doesn't change $v^2$, so the RMS is the sine's.
:::
:::
:::

::: check
kind: parts
given: I = 1 | 2 | 5; R = 10 | 50; f = 50 | 60

## A current $\given{I}\sin(2\pi \cdot \given{f}\,t)$ A flows through {R} Ω.

::: part
answer: I^2*R/2/f
unit: J
tolerance: 0.5%

### How much energy does the resistor absorb in one period?

::: misses
- [I^2*R/f] The average of $\sin^2$ is ½.
- [any] $\int_0^T I^2R\sin^2\omega t\,dt = \frac{I^2RT}{2}$.
:::
:::

::: part
answer: I^2*R/2
unit: W
tolerance: 0.5%

### What is the average power?

::: misses
- [any] Energy per period over the period.
:::
:::
:::

::: check
kind: parts
given: n = 10 | 20 | 50

## Compute these sums.

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

### $\sum_{k=1}^{\given{n}}k$

::: misses
- [any] $\frac{n(n + 1)}{2}$.
:::
:::

::: part
answer: n*(n + 1)*(2*n + 1)/6
tolerance: 0.5%

### $\sum_{k=1}^{\given{n}}k^2$

::: misses
- [any] $\frac{n(n + 1)(2n + 1)}{6}$.
:::
:::
:::

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

## Integrate $1/x$.

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

### $\displaystyle\int_{\given{a}}^{\given{b}}\frac{dx}{x}$

::: misses
- [log(b/a)] Use the natural log.
- [any] $\ln b - \ln a$.
:::
:::

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

### At what $c$ between them does $\int_{\given{a}}^{c}\frac{dx}{x}$ reach half the total?

::: misses
- [(a + b)/2] Not the midpoint: $\ln(c/a) = \tfrac12\ln(b/a)$.
- [any] The geometric mean.
:::
:::
:::

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

## Integrate exponentials.

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

### $\displaystyle\int_0^{\given{T}}e^{\given{k}t}\,dt$

::: misses
- [exp(k*T) - 1] Divide by {k}: an antiderivative of $e^{kt}$ is $e^{kt}/k$.
- [any] $\frac{e^{kT} - 1}{k}$.
:::
:::

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

### $\displaystyle\int_0^{\given{T}}e^{-\given{k}t}\,dt$

::: misses
- [any] $\frac{1 - e^{-kT}}{k}$.
:::
:::
:::

::: check
kind: parts
given: A = 2 | 4; f = 50 | 100; T = 3 | 7

## A capacitor current is $\given{A}\cos(2\pi \cdot \given{f}\,t)$ mA for the first {T} ms.

::: part
answer: A*sin(2*pi*f*T*1e-3)/(2*pi*f)*1000
unit: µC
tolerance: 0.5%

### What net charge passes?

::: misses
- [any] $\int_0^T A\cos\omega t\,dt = \frac{A\sin\omega T}{\omega}$; mA × s × 1000 = µC.
:::
:::

::: part
answer: A/(2*pi*f)*1000
unit: µC
tolerance: 0.5%

### What is the largest net charge reached at any time?

::: misses
- [any] The largest value of $\sin$ is 1.
:::
:::
:::

::: check
kind: parts
given: n = 2 | 4 | 5 | 8 | 10 | 16 | 20

## Estimate $\int_0^1 x^3\,dx$ (exactly ¼) with {n} midpoint slices.

::: part
answer: 0.25 - 1/(8*n^2)
tolerance: 0.1%

### What does the midpoint sum give?

::: misses
- [0.25] That's the exact value; the midpoint sum is a little under it here.
- [any] Heights $((k - \tfrac12)/n)^3$; the sum works out to $\frac14 - \frac{1}{8n^2}$.
:::
:::

::: part
answer: 1/(8*n^2)
tolerance: 0.5%

### By how much does it fall short?

::: misses
- [any] Exact minus the sum.
:::
:::
:::

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

## A capacitor charges as $v = \given{V0}(1 - e^{-t/\tau})$ with $\tau$ = {tau} ms.

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

### What is $\int_0^T v\,dt$ for $T$ = {T} ms, in volt-milliseconds?

::: misses
- [V0*T] The voltage starts at zero, so the area is less than $V_0T$.
- [any] $V_0\left(T - \tau(1 - e^{-T/\tau})\right)$.
:::
:::

::: part
answer: V0*(1 - tau/T*(1 - exp(-T/tau)))
unit: V
tolerance: 0.5%

### What is the average voltage over that time?

::: misses
- [any] Divide by {T}.
:::
:::
:::

::: check
kind: parts
given: a = 2 | 10; b = 1 | 4; T = 5 | 20

## A heater's power ramps as $P = \given{a} + \given{b}t$ watts, with $t$ in seconds.

::: part
answer: a*T + b*T^2/2
unit: J
tolerance: 0.5%

### How much energy does it use in {T} s?

::: misses
- [any] $\int_0^T(a + bt)\,dt$.
:::
:::

::: part
answer: a + b*T/2
unit: W
tolerance: 0.5%

### What is its average power over that time?

::: misses
- [any] Energy over time.
:::
:::
:::

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

## Let $H(x) = \displaystyle\int_x^{\given{b}}e^{-t^2}\,dt$.

::: part
answer: -exp(-x0^2)
tolerance: 0.5%

### What is $H'(\given{x0})$?

::: misses
- [exp(-x0^2)] With $x$ as the lower limit, the derivative is the negative of the integrand.
- [any] $\int_x^b = -\int_b^x$.
:::
:::

::: part
answer: -2*x0*exp(-x0^4)
tolerance: 0.5%

### If the lower limit were $x^2$ instead, what would the derivative be at $x$ = {x0}?

::: misses
- [any] $-f(x^2)\cdot 2x$.
:::
:::
:::
:::
