USE OF COMPUTER MATHEMATICS SYSTEMS WHEN STUDYING THE SUBJECT "METHODS OF NUMERICAL INTEGRATION"

Yurii Hurtovyi, Maria Lunyova · Academic Notes Series Pedagogical Science · 2024

This article explores the capabilities of the Maple computer algebra system in the study of the "Numerical Methods" course for specialties 122 Computer Science and 112 Statistics. Special attention is given to numerical methods for computing definite integrals, particularly Simpson's and Monte Carlo methods, which are implemented in Maple. The article presents the implementation code of Simpson's method in Maple for numerical integration of a given function on a segment with a specified number of division points. The method's application for computing the integral of a complex function containing exponential and trigonometric components is demonstrated. The results of computations with different numbers of division points in the integration segment and their accuracy are presented in tabular form. It is noted that Simpson's method provides high accuracy and works well for smooth functions. The Monte Carlo method is a stochastic numerical method based on randomly selecting points in space and computing their function values. The article provides the implementation code of the method in Maple for numerical computation of the integral of a given function by generating random points within a specified rectangle. The results of computations with different numbers of random points and their accuracy estimation are presented in tabular form. The advantages and disadvantages of the Monte Carlo method are noted, as well as its simplicity and visual appeal, which contribute to better understanding of the principle of this method. The article demonstrates the effectiveness of using the Maple system for studying numerical methods, particularly methods for computing integrals. The provided codes and examples of applying Simpson's and Monte Carlo methods allow students to better understand the essence of these methods, their advantages and limitations, and to gain practical skills in their implementation and application for solving applied problems.

Read the paper · More papers on PaperTik