This problem was initially treated in Section 1.2 of the introduction.The following is treated, see the folder:
4 Computing integrals 4.1 The main idea 4.2 Random variates and accuracy 4.3 Infinite variance 4.4 Some variance reducing techniques 4.5 Quasi random numbers