Mathematica Tool 3

This Mathematica notebook is designed for  use with Exercise 21 in Section 7.1

We define a piecewise function:

f[t_]:=(Piecewise[{{(t^2), 0≤t≤1}, {t-1, 1<t≤2}, {Sin[t], 2<t≤3}}])

Here is a plot of the function f.

Plot[f[t],{t,0,3},PlotStyle->{Thickness[0.005]}]