Accurate Calculation of the Area of Jianghan University Based on Monte Carlo Algorithm
The present paper presents a precise calculation of the campus area of Jianghan University using the Monte Carlo algorithm. This method is demonstrated to be both efficient and practical in estimating the area of complex irregular shapes. The Monte Carlo method is a probabilistic approach that transforms geometric area problems into models through the principles of random sampling. In the implementation stage, the vector boundary data of the campus is initially acquired via map APIs in order to define the regional judgment criteria. Subsequently, many uniformly distributed random points are generated within a bounding rectangle covering the campus. The calculation of the proportion of points falling within the campus area is achieved by meticulously enumerating the points and subsequently determining the area of the campus. This proportion is then combined with the area of the bounding rectangle to estimate the actual area of the campus. The implementation of the algorithm is undertaken using Python programming, and the positive correlation between the number of sampling points (e.g., millions) and accuracy is verified. The experimental results obtained from this study indicate a high degree of reliability in calculating the area of Jianghan University. It is further demonstrated that errors can be reduced by increasing the number of sampling points or by averaging multiple trial results.
Authors
- M. He (ORCID: https://orcid.org/0000-0003-0514-2115)
- Wenhui Ji (ORCID: https://orcid.org/0000-0001-9543-9240)
- Zhang Daying
- Xiao Ke (ORCID: https://orcid.org/0000-0002-2992-3752)
- Yuanyuan Li (ORCID: https://orcid.org/0000-0002-9302-8656)
Institutions
- Jianghan University (CN)
Publication Details
- Journal
- International Journal of Global Economics and Management
- Published
- 2025-05-29
- DOI
- https://doi.org/10.62051/ijgem.v7n1.27
- Primary Topic
- Spatial and Panel Data Analysis
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Jianghan University