Math, C, Calculus, Numerical Analysis, Monte Carlo.
with μ = 3 and σ = 1. We can show how sampling from the companion function can reduce the error by comparing the performance of normal  to Monte Carlo integration enhanced with importance sampling: We can use the printed output to plot the error vs. number of iterations and see that by using