# FRQ 38: water entering and leaving a storage tank

Source: https://cca.twango.dev/AP-Calculus-AB/exams/free-response/FRQ38

# FRQ 38: water entering and leaving a storage tank

Reviewed against the single page of [[../../assets/FRQ38.pdf|the original worksheet]]. The handwritten top label says “FRQ #33”; the archived filename is FRQ38, and the printed exercise number is 2.

The amount of water, in gallons, is continuous for $0\le t\le7$, with $t$ in hours. Water enters at

$$f(t)=100t^2\sin(\sqrt t)\text{ gallons/hour}$$

and leaves at

$$
g(t)=\begin{cases}
250,&0\le t<3,\\
2000,&3<t\le7.
\end{cases}
$$

The rates intersect at approximately $t=1.617$ and $t=5.076$. Initially the tank contains $5000$ gallons. The source leaves the outflow value at the single instant $t=3$ unspecified; this does not affect the accumulated integral.

![[../../assets/diagrams/ab-exam-2-water-flow.svg|Analytic inflow and piecewise outflow rates]]

Generated from the stated functions. Open circles preserve the unspecified outflow value at $t=3$; the intersection labels use the prompt’s rounded times.

## (a) How much water enters on $[0,7]$, to the nearest gallon?

**Original work:**

$$\int_0^7 100t^2\sin(\sqrt t)\,dt\approx\boxed{8264\text{ gallons}}.$$

## (b) When is the amount decreasing? Explain.

**Original work:** The amount decreases where $f(t)-g(t)<0$, equivalently $g(t)>f(t)$. The written intervals are

$$\boxed{(0,1.617)\cup(3,5.078)}.$$

> [!warning] Correction: second intersection
> The second endpoint is approximately $5.076$, as given in the prompt, so the decreasing intervals are $(0,1.617)$ and $(3,5.076)$. The sign reasoning is correct.

## (c) When is the amount greatest? Give the amount to the nearest gallon and justify.

**Original work:**

$$W(t)=5000+\int_0^t[f(x)-g(x)]\,dx.$$

The candidate work considers the rate intersections and the jump at $t=3$, and concludes that a maximum occurs at $t=3$. The final written amount is approximately **$5126.09$ gallons**.

> [!warning] Correction and complete absolute-maximum comparison
> The local maximum at the outflow jump must also be compared with both interval endpoints. With piecewise outflow integration,
> $$W(t)=5000+\int_0^t f(x)\,dx-250\min(t,3)-2000\max(t-3,0).$$
> The relevant values are:
>
> | $t$ (hours) | $W(t)$ (gallons, approximate) |
> | --- | --- |
> | 0 | 5000 |
> | 1.617 | 4719.223 |
> | 3 | 5126.591 |
> | 5.076 | 4016.881 |
> | 7 | 4513.807 |
>
> Thus the greatest amount occurs at **$t=3$ hours**, with **$5127$ gallons** to the nearest gallon. The original time is correct; the original decimal and missing rounding/candidate comparison need correction.

Related: [[FRQ24-25|integrating acceleration and checking absolute extrema]], [[FRQ27-28|temperature accumulation]].
