s1[u_]  := (Sin[u*(Pi) - Pi/2] + 1)/2

Plot[s1[u], {u , 0, 1.0}, 
      AxesLabel -> {"time", "distance"}]