Find the area between two curves
The curves are defined below on the given interval
\[p(t)=-2\,t^{3} + 2\,t^{2} - 3\,t - 6\]
\[g(t)=-t\]
Use the interval shown below
\[\left[-2,\;1\right]\]
Determine the area of the region between the two curves
| Piece | Test input |
|---|---|
| Piece 1 | \(-\frac{3}{2}\) |
| Piece 2 | \(0\) |