1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Generating Random Variable

  1. Apr 8, 2013 #1
    1. The problem statement, all variables and given/known data

    Give a method for generating a random variable with distribution function

    F(x) = 1/2[itex](x+x^{2})[/itex]

    0<x<1

    3. 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?
     
  2. jcsd
  3. Apr 8, 2013 #2

    Ray Vickson

    User Avatar
    Science Advisor
    Homework Helper

    You can answer that for yourself. Does your method match something in your course notes or textbook or in a web page?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted