Question: plotting piecewise function

Why doesn't a piecewise function plot correctly?

(1)   plot(sin((2*Pi)*100*t), t = 0 .. 1);        Plots correctly

(2)   s1 := t -> sin(200*t*Pi);
       plot(s1(t), t = 0 .. 1);                           Plots correctly

(3)   s2 := t -> piecewise(0 < t, 0, t < 10, sin(200*t*Pi), 0);
       s2 := proc (t) options operator, arrow; piecewise(0 < t, 0, t < 10, sin(200*t*Pi), 0) end proc

       plot(s2(t), t = 0 .. 1);                            Does not plot correctly. Only a blank plot is displayed.

Please Wait...