plot f(x) = x / 2, 0<=x<=2