\( \definecolor{colordef}{RGB}{249,49,84} \definecolor{colorprop}{RGB}{18,102,241} \)
The random variable \(X\) has the density \(f(x) = \frac{1}{2}\), on the interval \([0, 2]\).
Find \(P(\frac{1}{2}\leq X \leq \frac{3}{4})\).

Capture an image of your work. AI teacher feedback takes approximately 10 seconds.