F(x)= \begin{cases} 0, & \text{if } x < 0, \\ x, & \text{if } 0 \leq x < \frac{1}{2} \\ 1, & \text{if } x \geq \frac{1}{2} \end{cases}
Find $P\{X<\frac{1}{2}\}$, $P\{0.2 \leq X<0.7\}$, $P\{X=\frac{1}{2}\}$.
This is what I have so far:
$P\{0.2 \leq X<0.7\} \rightarrow P(X < \frac{7}{10}) - P(X \leq \frac{1}{5})$.
Then $F(\frac{2}{3})-F(\frac{1}{5}) \rightarrow \frac{7}{10}-\frac{1}{5}=\frac{1}{2}.$
I need feedback if I did this portion correctly, I'll work on the rest in a while.