plot sin(t/3*2PI*3) and sin(t/3*2PI*3)+1 and (sin(t/3*2PI*3)+1)/2 from t = 0 to t = 3