Example: Monte Carlo Simulation with a Custom Distribution Function
This example shows how to use a custom distribution function with the montecarlo function. Using custom distribution function enhances calculation speed, compared to using uniform distribution functions.
1. Create a custom distribution function that is based on the uniform distribution.