Plot[ Cos[0.5 Pi + Pi t] + 2 t, {t,-2,2}]