Approximating displacement The velocity in $\mathrm{ft} / \mathrm{s}$ of an object moving along a line is given by $v=3 t^{2}+1$ on the interval $0 \leq t \leq 4,$ where $t$ is measured in seconds.
a. Divide the interval [0,4] into $n=4$ subintervals, [0,1] $[1,2],[2,3],$ and $[3,4] .$ On each subinterval, assume the object moves at a constant velocity equal to $v$ evaluated at the midpoint of the subinterval, and use these approximations to estimate the displacement of the object on [0,4] (see part (a) of the figure).
b. Repeat part (a) for $n=8$ subintervals (see part (b) of the figure).
(Check your book to see figure)