twoski
- 177
- 2
Homework Statement
Give a method for generating a random variable with distribution function
F(x) = 1/2(x+x^{2})
0<x<1
The Attempt at a Solution
From what i can tell i am supposed to do something like:
Let U be a uniformly distributed random variable over (0,1).
U = 1/2(x+x^{2})
2U = x+x^{2}
Am i on the right track?