21.1 Generate random variables

21.1.1 Inverse transform method

21.1.2 Accept-Rejection method