Rejection Sampling, Monte Carlo, Sampling Methods, Probability Distributions, Statistics.
axis whose range is (0, Cg(x)), and our criterion to accept X would be to use another number that falls between 0 and Cg(x). If this number is on the left of the pink point we accept our sample else we reject it. The big idea here is that the portions of the line on the left and right of the pink