MATLAB: Compute the are of a function, using simulation.


Hello everyone. I would like to ask you a question. I would like to compute the are of function xlnx, x = [1,5], using simulation. Which method do you propose for it ? If it was to be computed without simulation, i would just compute the integration. I want to estimate the area using simulation.
Thank you for your time

Best Answer

  • I was thinking of Monte Carlo, but im not sure on how to use it.