---
title: Problem set 11
heading: "Problem set 11: integrals"
eyebrow: A5 · Problem set 11
type: problems
---

::: hook
These problems use lessons 41 to 52: accumulation, the definite integral, the fundamental theorem, integration techniques, net change and area, averages and RMS, and energy. Integrals turn rates into totals, and most of these are totals an engineer needs: charge, energy, heat, average power.
:::

::: pool
pick: 12

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

## Evaluate these definite integrals.

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

### $\displaystyle\int_0^{\given{b}}\given{a}x^{\given{n}}\,dx$

::: misses
- [a*n*b^(n - 1)] That's a derivative. Integrate.
- [any] $a\frac{x^{n+1}}{n + 1}\Big|_0^b$.
:::
:::

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

### $\displaystyle\int_0^{\given{b}}e^{\given{a}x}\,dx$

::: misses
- [exp(a*b) - 1] Divide by {a}.
- [any] $\frac{1}{a}e^{ax}\Big|_0^b$.
:::
:::
:::

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

## A current $i(t) = \given{I0}e^{-t/\tau}$ mA flows, with $\tau$ = {tau} ms.

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

### How much charge, in µC, passes in the first time constant?

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

::: part
answer: I0*tau
tolerance: 0.5%

### How much passes in all, from 0 to ∞?

::: misses
- [any] $\int_0^\infty I_0 e^{-t/\tau}dt = I_0\tau$.
:::
:::
:::

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

## Use substitution.

::: part
answer: (exp(k*a^2) - 1)/(2*k)
tolerance: 0.5%

### $\displaystyle\int_0^{\given{a}}x\,e^{\given{k}x^2}\,dx$ (try $u = \given{k}x^2$)

::: misses
- [exp(k*a^2) - 1] $du = 2kx\,dx$, so divide by $2k$.
- [any] With $u = kx^2$, $x\,dx = du/(2k)$.
:::
:::

::: part
answer: (1 - cos(k*a))/k
tolerance: 0.5%

### $\displaystyle\int_0^{\given{a}}\sin(\given{k}x)\,dx$

::: misses
- [1 - cos(k*a)] Divide by {k}.
- [any] $-\frac{1}{k}\cos kx\Big|_0^a$.
:::
:::
:::

::: check
kind: parts
given: n = 1 | 2 | 4

## Integrate by parts: $\int u\,dv = uv - \int v\,du$.

::: part
answer: 1
tolerance: 0.5%

### $\displaystyle\int_0^1 x\,e^x\,dx$

::: misses
- [exp(1)] Take $u = x$, $dv = e^x dx$: $xe^x - e^x$ from 0 to 1.
- [any] $u = x$, $dv = e^x\,dx$.
:::
:::

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

### $\displaystyle\int_0^{\pi}x\sin(\given{n}x)\,dx$ times $(-1)^{\given{n}+1}$ (this sign makes the answer positive)

::: misses
- [any] $u = x$, $dv = \sin nx\,dx$, giving $-\frac{x\cos nx}{n}\Big|_0^\pi + \frac{1}{n}\int_0^\pi\cos nx\,dx$.
:::
:::
:::

::: check
kind: parts
given: I1 = 4 | 6; T1 = 2 | 3; I2 = 2 | 3; T2 = 5 | 6

## A battery is charged at {I1} A for {T1} h, then discharged at {I2} A for {T2} h.

::: part
answer: I1*T1 - I2*T2
unit: Ah

### What is the net change in its charge, in Ah?

::: misses
- [I1*T1 + I2*T2] That's total throughput. Net counts discharge as negative.
- [any] $\int i\,dt$ with signs.
:::
:::

::: part
answer: I1*T1 + I2*T2
unit: Ah

### What total charge flowed through it, in Ah?

::: misses
- [any] $\int |i|\,dt$.
:::
:::
:::

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

## A sine wave of amplitude {A} V.

::: part
answer: A/sqrt(2)
unit: V

### What is its RMS value?

::: misses
- [A/2] RMS is $\sqrt{\text{mean of the square}}$; the mean of $\sin^2$ is $\frac{1}{2}$.
- [any] $A/\sqrt2$.
:::
:::

::: part
answer: 2*A/pi
unit: V

### What is the average of its absolute value (a full-wave rectified sine)?

::: misses
- [0] That's the plain average. The rectified one is positive.
- [any] $\frac{1}{\pi}\int_0^\pi A\sin t\,dt = 2A/\pi$.
:::
:::
:::

::: check
kind: parts
given: Vp = 5 | 10; D = 0.2 | 0.5

## A square wave sits at {Vp} V for a fraction {D} of each period and at 0 V otherwise.

::: part
answer: Vp*D
unit: V

### What is its average (DC) value?

::: misses
- [any] $\frac{1}{T}\int v\,dt = V_pD$.
:::
:::

::: part
answer: Vp*sqrt(D)
unit: V

### What is its RMS value?

::: misses
- [Vp*D] RMS is the root of the mean square: $\sqrt{V_p^2D}$.
- [any] $\sqrt{D V_p^2}$.
:::
:::
:::

::: check
kind: parts
given: C = 10 | 100; V1 = 2 | 4; V2 = 10 | 12

## A {C} µF capacitor goes from {V1} V to {V2} V.

::: part
answer: 0.5*C*1e-6*(V2^2 - V1^2)
unit: J

### How much energy was added?

::: misses
- [0.5*C*1e-6*(V2 - V1)^2] Subtract the squares.
- [any] $\frac{1}{2}C(V_2^2 - V_1^2)$.
:::
:::

::: part
answer: C*1e-6*(V2 - V1)
unit: C

### How much charge was added?

::: misses
- [any] $\Delta Q = C\,\Delta V$.
:::
:::
:::

::: check
kind: parts
given: V0 = 5 | 12; R = 100 | 1000; C = 10 | 100

## A {C} µF capacitor charged to {V0} V discharges through {R} Ω.

::: part
answer: 0.5*C*1e-6*V0^2
unit: J

### How much heat does the resistor produce in total?

::: misses
- [C*1e-6*V0^2] Include the half.
- [any] All the stored energy: $\frac{1}{2}CV_0^2$.
:::
:::

::: part
answer: V0^2/R
unit: W

### What is the resistor's power at the instant the discharge starts?

::: misses
- [any] $V_0^2/R$.
:::
:::
:::

::: check
kind: parts
given: n = 2..8 int

## Find the area between curves.

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

### Between $y = x$ and $y = x^{\given{n}}$ on $[0, 1]$.

::: misses
- [any] $\int_0^1 (x - x^n)\,dx$.
:::
:::

::: part
answer: 4/3
tolerance: 0.5%

### Between $y = 1$ and $y = x^2$ on $[-1, 1]$.

::: misses
- [2/3] That's half of it: the region runs from −1 to 1.
- [any] $\int_{-1}^{1}(1 - x^2)\,dx$.
:::
:::
:::

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

## Let $F(x) = \displaystyle\int_0^x (\given{a}t^2 + \given{b})\,dt$.

::: part
kind: expression
answer: a*x^2 + b
vars: x = -2..2

### What is $F'(x)$?

::: misses
- [a*x^3/3 + b*x] That's $F$ itself. The fundamental theorem says $F' = $ the integrand.
- [any] $F'(x) = $ the integrand at $x$.
:::
:::

::: part
answer: a*8/3 + 2*b
tolerance: 0.5%

### What is $F(2)$?

::: misses
- [any] $\frac{a}{3}x^3 + bx$ at $x = 2$.
:::
:::
:::

::: check
kind: parts
given: L = 10 | 50; I = 1 | 4

## An inductor of {L} mH has its current ramped from 0 to {I} A.

::: part
answer: 0.5*L*1e-3*I^2
unit: J

### How much energy does it store?

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

::: part
answer: 0.5*L*1e-3*I^2/0.001
unit: W

### If it's discharged in 1 ms, what average power is delivered?

::: misses
- [any] Energy divided by time.
:::
:::
:::

::: check
kind: parts
given: h = 0.2 | 0.5; p1 = 2 | 4; p2 = 5 | 7

## Power samples every {h} s read 0, {p1} and {p2} W.

::: part
answer: h*(p1 + p2/2)
unit: J
tolerance: 0.5%

### What energy does the trapezoid rule give?

::: misses
- [any] $h(\tfrac12 \cdot 0 + p_1 + \tfrac12p_2)$.
:::
:::

::: part
answer: h/3*(4*p1 + p2)
unit: J
tolerance: 0.5%

### What energy does Simpson's rule give?

::: misses
- [any] $\frac h3(0 + 4p_1 + p_2)$.
:::
:::
:::

::: check
kind: parts
given: r = 2 | 3; h = 5 | 8

## A cone-shaped potting cup has radius {r} cm and depth {h} cm.

::: part
answer: pi*r^2*h/3
unit: cm³
tolerance: 0.5%

### What volume does it hold, in cm³?

::: misses
- [pi*r^2*h] That's a cylinder.
- [any] $\frac13\pi r^2h$.
:::
:::

::: part
answer: pi*r^2*h/3/8
tolerance: 0.5%

### What volume is in the bottom half of its depth (near the tip)?

::: misses
- [pi*r^2*h/6] The radius halves too, so the volume scales by $\left(\tfrac12\right)^3$.
- [any] A cone of half the size: one eighth.
:::
:::
:::

::: check
kind: parts
given: A = 3 | 5; D = 0.1 | 0.25

## A pulse train is {A} V for a fraction {D} of each period.

::: part
answer: A*sqrt(D)
unit: V
tolerance: 0.5%

### What is its RMS value?

::: misses
- [A*D] That's the average.
- [any] $\sqrt{A^2D}$.
:::
:::

::: part
answer: A^2*D/10
unit: W
tolerance: 0.5%

### What average power does it put into 10 Ω?

::: misses
- [(A*D)^2/10] Use the RMS, not the average.
- [any] $V_\text{rms}^2/R$.
:::
:::
:::
:::
