Plot -6 cos(pi t) from 0 to 4