File Exchange

image thumbnail

Monte Carlo simulation for computation of definite integrals

version (2.83 KB) by Bibhu Das
Integration and area under the curve using Monte-carlo simulation.


Updated 30 Dec 2017

View License

The program uses the Monte-carlo algorithm to calculate the area under a curve within proper limits. This can be used as a method to solve definite integrals whose analytic solutions are time consuming. The sample space is generated using random numbers within the user defined limits and the area computation proceeds as per the algorithm. The program returns area under the curve and the corresponding plot of sample space and the curve.

Cite As

Bibhu Das (2021). Monte Carlo simulation for computation of definite integrals (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Muhammad Affan Qamar

Alaa Tharwat

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!