The unit step function, also known as the Heaviside function, is defined as:
$$
u(t-a) = \left\{\begin{array}{lr}
0, & t < a \\
1, & t \geq a
\end{array}\right.
$$
So, we can write the given function as:
$$
f(t) = \sin(t)u(t) - \sin(t)u(t-2\pi)
$$
Show more…