MH4518: Use the inverse transform method to generate samples of a random variable X with the p.d.f: Simulation Techniques in Finance Assignment, NTU
Use the inverse transform method to generate samples of a random variable X with the p.d.f Suppose that we can generate independent samples of…