]> Exercises

# Exercises

Find the area between the two curves

Use Commands not the right-click menus.

1. Find the area between the curves, sin(x) and cos(x)

Use fsolve to find the specific points of intersection for which we are interested.

2. Find the area between these two curves.

$\begin{array}{l}y={\left(x+2\right)}^{3}+5\\ y=-3{x}^{2}+13\end{array}$

In this case, eq1 is a 3rd degree polynomial and eq2 is a second degree polynomial. A 3rd degree polynomial may intersect a line or 2nd degree polynomial in 0, 1, 2, or 3 points.

Use the solve command (or fsolve if necessary) to find the points of intersection.

Notice that computing the area in two steps or integrating the absolute value of the difference between the lower and upper limit both compute the same area between the two curves.