Monte Carlo simulation for computation of definite integrals
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.
Citation pour cette source
Bibhu Das (2024). Monte Carlo simulation for computation of definite integrals (https://www.mathworks.com/matlabcentral/fileexchange/65563-monte-carlo-simulation-for-computation-of-definite-integrals), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Computational Finance > Financial Toolbox > Price and Analyze Financial Instruments >
- Sciences > Mathematics > Probability & Statistics > Monte-Carlo >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 | updated the title. |