18.1 Generate random variables

18.1.1 Inverse transform method

18.1.2 Accept-Rejection method