Hi all, I have a problem for doing the monte carlo integration.
Below here are all the codes, the %% Monte Carlo is the section for monte carlo integration:
The outputs is looks something like this
I would be grateful that someone can help me to solve this matter. Thanks :)