Finding Cumulative Distribution Function from an interval

34 Views Asked by At

The time for a taxi to arrive is approximately uniformly distributed on the interval (0,6). Find the cumulative distribution function.

My attempt was: F(x) = 0 such that x < 0, x such that 0<= x <= 6, and 6 such that x > 6.