- #1
twoski
- 181
- 2
Homework Statement
Give a method for generating a random variable with distribution function
F(x) = 1/2[itex](x+x^{2})[/itex]
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[itex](x+x^{2})[/itex]
2U = [itex]x+x^{2}[/itex]
Am i on the right track?