Monte Carlo Method for Estimating the Area of Irregular Shapes
Abstract
In daily life, there is a practical demand for area estimation of irregular graphics in scenarios such as leaf area measurement, map jurisdiction area calculation, and art design graphic area estimation. Among traditional estimation methods, the grid method is cumbersome to operate, the formula method is only applicable to regular graphics, and instrument measurement has high costs, which makes it difficult to meet the low-cost and easy-to-operate estimation needs. This study aims to verify the feasibility of the Monte Carlo method in estimating the area of irregular graphics and analyze the key factors affecting the estimation accuracy. This study combines manual simulation and Python programming simulation, uses the control variable method to compare the estimation results under different experimental conditions, and selects three typical irregular graphics: sycamore leaves, hand-drawn cartoon avatars, and the map jurisdiction of Yuelu District, Changsha City for experiments. The results show that the Monte Carlo method is suitable for area estimation of any irregular graphics, the estimation accuracy improves with the increase of the number of points, the error can be controlled within 2% when 10,000 points are cast, and the programming simulation accuracy is significantly higher than manual simulation, with the error rate 3%-5% lower than manual simulation. This study provides a simple and feasible area estimation scheme for irregular graphics for high school students, realizes the combination of probability knowledge and practical application, and provides an interdisciplinary (mathematics + programming) practical case.
References
- Sheng Z., Xie S. Q., Pan C. Y. (2019) Probability theory and mathematical statistics [M]. 4th ed. Beijing: Higher Education Press, (reprint), pp.120-135.
- Jiang Q. Y., Xie J. X., Ye J. (2018) Mathematical models [M]. 5th ed. Beijing: Higher Education Press, pp.210-225.
- Zhang R. Y. (2016) Python scientific computing [M]. 2nd ed. Beijing: Tsinghua University Press.
- Hammersley J. M., Handscomb D. C. (1964) Monte Carlo methods [M]. London: Chapman & Hall, pp.30-50.
- Metropolis N., Ulam S. (1949) The Monte Carlo method [J]. Journal of the American Statistical Association, 44(247): 335-341.
- Wang Z. K. (2016) Foundations of probability theory and its applications [M]. Beijing: Beijing Normal University Press, pp.90-105.
- Li H. (2019) Statistical learning methods [M]. 2nd ed. Beijing: Tsinghua University Press, pp. 150-165.
- Press W. H., Teukolsky S. A., Vetterling W. T., et al. (1992) Numerical recipes in C: the art of scientific computing [M]. 2nd ed. Cambridge: Cambridge University Press, pp.250-265.
- Editorial Committee of Modern Mathematics Handbook. (2000) Modern mathematics handbook: stochastic mathematics [M]. Wuhan: Huazhong University of Science and Technology Press.
- Zhang H. R., Hao B. X. (2019) Advanced algebra [M]. 5th ed. Beijing: Higher Education Press, pp.180-195.