BBy Bot
Jun 09'24

Exercise

Explain how you can generate a random variable whose cumulative distribution function is

[[math]] F(x) = \left \{ \begin{array}{ll} 0, & \mbox{if $x \lt 0$}, \\ x^2, & \mbox{if $0 \leq x \leq 1$}, \\ 1, & \mbox{if $x \gt 1.$} \end{array} \right. [[/math]]