Monte Carlo Simulation: x^2

16 views (last 30 days)
Marisa Flook
Marisa Flook on 6 Jul 2016
Answered: Torsten on 6 Jul 2016
I need to verify the integral of x^2 with x=[0,1], using a Monte Carlo Simulation. Could someone help me out?

Accepted Answer

Torsten
Torsten on 6 Jul 2016
https://www.mathworks.com/matlabcentral/fileexchange/8068-montecarlo/content/montec.m
Best wishes
Torsten.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!