Math, C, Calculus, Numerical Analysis, Monte Carlo.
sampling variance. Choosing a companion function to sample from isn’t necessarily straightforward, and sometimes requires prior knowledge of the function being integrated. Once an appropriate companion probability density function is chosen (e.g. p(x)), the xi values are sampled from the companion