MUHAMMAD ISMUL A'ZAM BIN YUSOF Universiti Teknologi MARA Shah Alam
This study introduces CalcXarea, a user-friendly numerical integration tool that leverages discrete least squares interpolation in conjunction with the trapezoidal rule. Traditional methods for area estimation often struggle with irregular datasets and complex curve profiles, leading to reduced accuracy and increased computational effort. CalcXarea addresses these limitations by allowing users to input discrete coordinate data, from which it derives a best-fit polynomial curve via regression analysis. The area under the curve is then approximated using the trapezoidal rule. Implemented within both Excel and MATLAB environments, CalcXarea streamlines the integration process by enhancing precision, reducing manual computation time, and improving accessibility. Its effectiveness is demonstrated through real-world applications, such as estimating areas of natural formations from image-based data—highlighting its potential impact in education, engineering, environmental science, and industry.