v = piecewise[{{sqrt(2x), x < 400},{sqrt(2*400),x > 400}}], v = sqrt(1x) from x = 0 to x = 1000