DF.16 Using the Heaviside step function, write
f(x)=egin{cases}0 & ext{if } x< -pi\[4pt] cos x & ext{if } -pi< x< pi\[4pt] 0 & ext{if } x>piend{cases}
as a single expression, valid for all x. Your expression should be built out of a sum of terms, each of which has a single Heaviside step function in it: f(x)=