Displacement from velocity The following functions describe the velocity of a car (in $\mathrm{mi} / \mathrm{hr}$ ) moving along a straight highway for a 3-hr interval. In each case, find the function that gives the displacement of the car over the interval $[0, t]$, where $0 \leq t \leq 3$
(Check your book to see figure)
$$v(t)=\left\{\begin{array}{ll}30 & \text { if } 0 \leq t \leq 2 \\50 & \text { if } 2< t \leq 2.5 \\44 & \text { if } 2.5< t \leq 3\end{array}\right.$$