modeling of random variable

40 Views Asked by At

I have 2 random variables $U$, $V$ - uniformly distributed on $[0,1]$. How to model (simulate) random variable with distribution function $f(x) = \frac{1}{2}e^\frac{-x}{2} \mathbf{1}_{[0,\infty)}(x)$