Next Article in Journal
Robust Finite-Time Control Algorithm Based on Dynamic Sliding Mode for Satellite Attitude Maneuver
Next Article in Special Issue
Evaluation and Mathematical Analysis of a Four-Dimensional Lotka–Volterra-like Equation Designed to Describe the Batch Nisin Production System
Previous Article in Journal
Modeling Semiarid River–Aquifer Systems with Bayesian Networks and Artificial Neural Networks
Previous Article in Special Issue
Eighth Order Two-Step Methods Trained to Perform Better on Keplerian-Type Orbits
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Numerical Method for Computing Double Integrals with Variable Upper Limits

by
Olha Chernukha
1,2,*,
Yurii Bilushchak
1,2,
Natalya Shakhovska
3 and
Rastislav Kulhánek
4
1
Centre of Mathematical Modelling, Pidstryhach Institute of Applied Problems in Mechanics and Mathematics, National Academy of Sciences of Ukraine, 15 Dudayev Str., 79005 Lviv, Ukraine
2
Institute of Applied Mathematics and Fundamental Sciences, Lviv Polytechnic National University, 12 Bandera Str., 79013 Lviv, Ukraine
3
Institute of Computer Sciences and Information Technologies, Lviv Polytechnic National University, 12 Bandera Str., 79013 Lviv, Ukraine
4
Department of Information Systems, Faculty of Management, Comenius University, Odbojárov 10, 814 99 Bratislava, Slovakia
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(1), 108; https://doi.org/10.3390/math10010108
Submission received: 17 November 2021 / Revised: 23 December 2021 / Accepted: 24 December 2021 / Published: 30 December 2021
(This article belongs to the Special Issue Numerical Analysis and Scientific Computing)

Abstract

:
We propose and justify a numerical method for computing the double integral with variable upper limits that leads to the variableness of the region of integration. Imposition of simple variables as functions for upper limits provides the form of triangles of integration region and variable in the external limit of integral leads to a continuous set of similar triangles. A variable grid is overlaid on the integration region. We consider three cases of changes of the grid for the division of the integration region into elementary volumes. The first is only the size of the imposed grid changes with the change of variable of the external upper limit. The second case is the number of division elements changes with the change of the external upper limit variable. In the third case, the grid size and the number of division elements change after fixing their multiplication. In these cases, the formulas for computing double integrals are obtained based on the application of cubatures in the internal region of integration and performing triangulation division along the variable boundary. The error of the method is determined by expanding the double integral into the Taylor series using Barrow’s theorem. Test of efficiency and reliability of the obtained formulas of the numerical method for three cases of ways of the division of integration region is carried out on examples of the double integration of sufficiently simple functions. Analysis of the obtained results shows that the smallest absolute and relative errors are obtained in the case of an increase of the number of division elements changes when the increase of variable of the external upper limit and the grid size is fixed.

1. Introduction

When solving various engineering and scientific problems, we fail to deal with the necessity to calculate double integrals with variable integration limits. Thus, the analytical solution for the problem of migration of contaminants with a solving in multilayered water filters can be obtained only in integral form. Then, the resulting solution must be integrated once again to determine the concentration of particles absorbed on the filter skeleton over a certain time interval. In this case, the time variable which is in the upper limit of the external integral should not be considered as a parameter, because to establish the optimal regimes of operation of industrial filters still need to solve numerically the functional equation containing this double integral over a time interval of unknown length [1,2,3,4].
Similar problems arise for
  • determining the amount of radioactive contamination that gets groundwater during radiation pollution of the soil,
  • the quantity of heat that a multiphase porous body can lose or get,
  • determining the loss of alloying doping impurities of reinforced material during intensive exploitation of the object in conditions of the aggressive external environment, etc. [5,6,7].
Therefore, it is necessary to develop numerical methods for integrating double integrals with variable limits and an intricate integrand.
In the literature (for example, [8,9,10]) methods of double integration have been developed, but within definite limits.
The first method explicitly devised for multiple integrals was published in 1877 in a paper by James Clerk Maxwell [11] proposed the formulas for the rectangle and the rectangular parallelopipedon [12]. After the 1950s, several new methods were devised, which have begun to make the numerical evaluation of multiple integrals available as a working tool for scientists and engineers [13]. Krylov, V. I. and I. P. Mysovskikh made a significant contribution to the theory of approximate calculation of integrals [14,15]. General overviews to the problems of numerical approximation of multiple integrals are contained in [13,16]. Encyclopedic work on multiple numerical integrations was published by Arthur H. Stroud [17]. Cubature formulas have been developed for different regions of integration, namely cubature formulas for the cube [17,18], for triangle [18,19], for the sphere [20], for the space with weight function exp ( r 2 ) [16,21], for the space with weight function exp ( r ) [16,22] and for the simplex [23,24]. In addition, we can mention the class of Monte Carlo methods, which has been extended by S. M. Ulam and John von Neumann [25,26]. Monte Carlo methods are constructed on a fundamentally different basis. They use random sampling to obtain numerical results, but an aleatory generation of points makes the problem more dependent on luck, increasing the chance of obtaining uncertainties in the results [27,28,29].
As concerns double and multiple integrals, numerical integration methods are developed to calculate the definite integrals and the integrals with definite limits in the external integration [1] and solve Volterra’s integral equations [30], i.e., the regions of integration are constant or fixed. In the work [19], it collects together theoretical results in the area of numerical cubature over triangles. The theory relating to regular integrands and the corresponding theory of singular integrands are considered here. The existence of cubature formulas for planar regions was shown by A. H. Stroud, which used m2 points with polynomial precision 2 m−1 [30,31]. Thus, in [32], sufficient conditions are formulated for the existence of cubature formulas using fewer than m2 of points with the same polynomial accuracy.
As a rule, only elements that are fully within the scope of the integration region are taken into account, while others are rejected. As a result, the problem of assurance of the accuracy of the calculations, because to increase the accuracy it is proposed increasing the number of elements of the division, i.e., compressing the grid, and in turn for complex and intricate integrands, this leads to a significant accumulation of computational error.
Approximations of the double integral a b c d f ( x , y ) d x   d y are obtained under the assumption that the partial derivatives of the integrand belong to the Lebesgue space L p for certain 1 p [33]. In this case, it is not enough to satisfy the condition that integrand f ( x , y ) is a simple integrated function. So it is necessary to impose additional restrictions: if the integrand is real in the domain Ω = [ a ; b ] × [ c ; d ] then the formulas for numerical integration of the double integral exist under the assumption that the mixed partial derivative f x y belongs to one of the Lebesgue spaces L p ( Ω ) for some 1 p (if p = , then f ( x , y ) is a continuously differentiable function of both variables). Thus, it is assumed that the norm f x y p is limited. Moreover, the integration error can be estimated in the terms of the norm f x y p [33].
In the case of double integral with variable limits, it is not possible to estimate the calculation error by classical methods. Moreover, the variable limits of the integral
I ( τ ) = 0 g 1 ( τ ) 0 g 2 ( τ ) f ( τ , τ , τ ) d τ d τ
are functions of independent variables τ, τ [ 0 ; ) that leads to variableness of the integration region.
We suppose that integral (1), functions f(τ′, τ″, τ), g 1 ( τ ) and g 2 ( τ ) satisfy necessary restrictions (in particular, functions g 1 ( τ ) , g 2 ( τ ) are continuous functions of their arguments). Without loss of generality, we can accept that g 1 ( τ ) = τ and g 2 ( τ ) = τ , because, if the inverse functions g 1 1 ( τ ) and g 2 1 ( τ ) exist, then using change of variables t = g 1 ( τ ) and t = g 2 ( τ ) the integral (1) can be reduced to the form
I ( τ ) I ( g 1 1 ( t ) ) = 0 t 0 t f ( t , τ , t ) g 2 1 ( t ) t d τ d t .
Note that zero values of the lower limits of integration can be obtained using the additive property of an integral.

2. Construction of Formula for Computing Double Integrals with Variable Upper Limits

A method of numerical integration of double integrals with variable upper limits, which we propose, may be divided into such steps:
  • determination of integration region;
  • overlaying square or rectangular grid on the integration region;
  • decomposing of integration region into subregions, which consist of square (rectangular) and triangular elements;
  • application of cubatures in the subdomain consisting of square elements;
  • realization of triangulation division along the variable boundary τ″ = τ′;
  • calculating the volumes of elementary elements based on triangles;
  • calculation of the original integral;
  • determination of calculation error.

2.1. Determination of Integration Region

The region of integration of the integrand (1) in the space O τ τ τ has the form of an inclined triangle (Figure 1). Taking into account that τ is a variable, i.e., it changes continuously in or in the interval [ 0 ; ) (for example, if τ is time) or in any closed interval, then with the change of τ the region of integration in space O τ τ τ remains a triangle. The change of variable τ leads to a change in the maximum values of τ′ and τ″.
For τ = τ1 we have max τ′ = max τ″= τ1, and for τ = τ2 we have max τ′ = max τ″ = τ2 (Figure 1a). These regions are similar triangles that are in parallel planes, i.e., they are at the same angle θ to the plane Oτ′τ″ (Figure 1a). However, an area of the surface of integration changes. For τ = 0 the integration, the region is the point (0, 0, 0).
Let us make a projection of the surface of integration on the plane Oτ′τ″ (Figure 1b). Then we obtain the set of regions of integration in the space Oτ′τ″z.
As a result, we obtain a family of integrands parameterized by the variable τ (Figure 2).

2.2. Overlaying a Grid for the Variable Region of Integration

Let us overlay a square grid on the projection of the integration region (Figure 3a). Then we take into account the variableness of the integration region. Note, that with changes of value of τ either the number of division elements N e l or the width of the grid (step) h can change, i.e., N e l = N e i ( τ ) , h = h ( τ ) and h ( τ ) = τ N e l ( τ ) .
If we consider that the integration region S is a triangle, then with increasing τ from t1 to t2 the integration region remains a triangle, increases, and the area of the additional region S a increases by S a = ( t 2 2 t 1 2 ) / 2 (Figure 3b). Then, if the grid for τ = t 1 ( N e l = N e i ( t 1 ) , h = h ( t 1 ) ) is fixed, then at the same step h the number of division elements increases by N a = t 2 t 1 h elements. If we fix the number of division elements N e l , then with the changing τ from t1 to t2 there is a change in the width of the grid h = t 2 N e l . Note that the number of elements and the width of the grid can change together, and the relation h N e l = t 2 is always fulfilled.
At the same time, if necessary, the additional region S a can be divided with a different grid from the grid of the region S with the width h t 2 = t 2 t 1 N a .
Analogous reasoning can be made for the rectangular grid, but we restrict ourselves to the case of the square grid.

2.3. Formula for Finding a Double Integral with Variable Upper Limits

We break up the integration region S ( τ ) into N e l ( τ ) small subregions. Then we apply the cubature formula with the weight function w ( τ , τ ) 1 . Depending on the number of division elements changes or the grid width changes when changing the variable τ we get the following cases.
(A)
With the change of τ, only the size of the imposed grid h(τ) changes
0 τ 0 τ   f ( τ , τ , τ ) d τ d τ = e l N e l ( V e l ( τ ) )   f ( τ , τ , τ ) d τ d τ ,
(B)
With the change of τ, only the number of division elements Nel(τ) changes
0 τ 0 τ   f ( τ , τ , τ ) d τ d τ = e l N e l ( τ ) ( V e l )   f ( τ , τ , τ ) d τ d τ ,
(C)
With the change of τ, both the size of the grid and the number of division elements change
0 τ 0 τ   f ( τ , τ , τ ) d τ d τ = e l N e l ( τ ) ( V e l ( τ ) )   f ( τ , τ , τ ) d τ d τ ,
where Vel is the volume of the individual element of division of the integration region.
As a result of the division of the integration region, we obtained square (Figure 4a) and triangular (Figure 4b) elements. Here the summation is carried out over all elements e l V e l = [ 0 ,   τ ] × [ 0 ,   τ ] .
We separate square and triangular elements:
( A )   e l N e l ( V e l ( τ ) ) f ( τ , τ , τ ) d τ d τ = s q e l N s q e l ( V s q e l ( τ ) )   f ( τ , τ , τ ) d τ d τ + t r e l N t r e l ( V t r e l ( τ ) )   f ( τ , τ , τ ) d τ d τ ,
( B )   e l N e l ( τ ) ( V e l ) f ( τ , τ , τ ) d τ d τ = s q e l N s q e l ( τ ) ( V s q e l )   f ( τ , τ , τ ) d τ d τ + t r e l N t r e l ( τ ) ( V t r e l )   f ( τ , τ , τ ) d τ d τ ,
( C )   e l N e l ( τ ) ( V e l ( τ ) ) f ( τ , τ , τ ) d τ d τ = s q e l N s q e l ( τ ) ( V s q e l ( τ ) )   f ( τ , τ , τ ) d τ d τ + t r e l N t r e l ( τ ) ( V t r e l ( τ ) )   f ( τ , τ , τ ) d τ d τ ,
where sqel is the square element, trel is the triangular element, N s q e l and N t r e l are the numbers of square and triangular elements, V s q e l and V t r e l are the volumes of square and triangular elements,
Let us select the elements Vel, which are squares (Figure 4a). Here we apply numerical integration in cubatures. So, we have
( A )   s q e l V e l ( τ )   f ( τ , τ , τ ) d τ d τ = s q e l N s q e l ( V s q e l ( τ ) )   f ( τ , τ , τ ) d τ d τ = i = 1 n 1 j = i + 1 n h 2 ( τ )   f ( τ i , τ j , τ ) ,
n c o n s t , n Ν , n 1 is the number of square elements in the longest line, h(τ) is the grid width depending on τ.
( B )   s q e l ( τ ) V e l   f ( τ , τ , τ ) d τ d τ = s q e l N s q e l ( τ ) ( V s q e l )   f ( τ , τ , τ ) d τ d τ ) = i = 1 n ( τ ) 1 j = i + 1 n ( τ ) h 2   f ( τ i , τ j , τ ) ,
h c o n s t , n(τ) changes with changing τ.
( C )   s q e l ( τ ) V e l ( τ )   f ( τ , τ , τ ) d τ d τ = s q e l N s q e l ( τ ) ( V s q e l ( τ ) )   f ( τ , τ , τ ) d τ d τ = i = 1 n ( τ ) 1 j = i + 1 n ( τ ) h 2 ( τ )   f ( τ i , τ j , τ ) ,
n(τ) and h(τ) change with changing τ.
Note that h(τ) = τ/n(τ).
Consider the subregion consisting of triangles only (Figure 4b). The sum of the volumes of the elements with a triangular base takes the form
( A )   t r e l ( V t r e l ( τ ) )   f ( τ , τ , τ ) d τ d τ = i = 1 n h 2 ( τ ) f ( τ i , τ i , τ ) ,
( B )   t r e l ( τ ) ( V t r e l )   f ( τ , τ , τ ) d τ d τ = i = 1 n ( τ ) h 2 f ( τ i , τ i , τ ) ,
( C )   t r e l ( τ ) ( V t r e l ( τ ) )   f ( τ , τ , τ ) d τ d τ = i = 1 n ( τ ) h 2 ( τ ) f ( τ i , τ i , τ ) ,
where n is the number of triangular elements; τ i + 1 = τ i + h ( τ ) ; τ i and τ i are the values of τ′ and τ″ in the ith node (the i-th triangular elements).
Note that the number of triangular elements is 1 more than the square elements in the longest line.
By Formulas (6)–(8), we sum the relations (9)–(11) and (12)–(14) respectively. Then we obtain the formulas of numerical integration for a double integral with variable upper limits:
( A )   0 τ 0 τ f ( τ , τ , τ ) d x d y ( 1 2 i = 1 n h 2 ( τ )   f ( τ i , τ i , τ ) + i = 1 n 1 j = i + 1 n h 2 ( τ )   f ( τ i , τ j , τ ) ) ,
( B )   0 τ 0 τ f ( τ , τ , τ ) d x d y ( 1 2 i = 1 n ( τ ) h 2   f ( τ i , τ i , τ ) + i = 1 n ( τ ) 1 j = i + 1 n ( τ ) h 2   f ( τ i , τ j , τ ) ) ,
( C )   0 τ 0 τ f ( τ , τ , τ ) d x d y ( 1 2 i = 1 n ( τ ) h 2 ( τ )   f ( τ i , τ i , τ ) + i = 1 n ( τ ) 1 j = i + 1 n ( τ ) h 2 ( τ )   f ( τ i , τ j , τ ) ) ,
where τ i + 1 = τ i + h ( τ ) ; τ i + 1 = τ i + h ( τ ) .
Schematically, such a method of numerical integration for a double integral with variable upper limits at a fixed value of τ is presented in Figure 5.

3. Error of Numerical Integration

We find the error of numerical integration by the Taylor formula [34,35].
The main term of the error is [36,37].
R ( τ ) = 0 τ 0 τ f ( τ , τ , τ ) d τ d τ S ( τ ) · f ( τ , τ c , τ c ) ,
where S ( τ ) is the area of the region of integration, ( τ c , τ c ) is the central point of the region of integration.
We choose the central point of the integration region ( τ c , τ c ) in the vicinity of which we expand the function
F ( τ , τ , τ ) = 0 τ 0 τ f ( τ , τ , τ ) d τ d τ
into the Taylor series
F ( τ , τ , τ ) = F ( τ , τ c , τ c ) + ( τ τ c ) F τ ( τ , τ c , τ c ) + ( τ τ c ) F τ ( τ , τ c , τ c ) + .
Note that the function F(τ, τ′, τ″) can be expanded into a Taylor series if in some vicinity of the point ( τ c , τ c ) its continuous partial derivatives exist up to n + 1 order [38].
Let f(τ, τ′, τ″) be continuous in the domain [ 0 , τ ] × [ 0 , τ ] . Then it is integrated into this domain, as well as integrated into any subdomain of [ 0 , τ ] × [ 0 , τ ] [38]. Then F(τ, τ′, τ″) is continuous in the domain [ 0 , τ ] × [ 0 , τ ] . If f(τ, τ′, τ″) is continuous in the domain [ 0 , τ ] × [ 0 , τ ] then F(τ, τ′, τ″) is differentiable in the domain [ 0 , τ ] × [ 0 , τ ] [38].
Taking into consideration that F(τ, τ′, τ″) is the double integral with variable upper limits, we obtain (by the analogy of double integration in cubatures)
F ( τ , τ c , τ c ) = 0 τ 0 τ c f ( τ , τ c , τ c ) d τ d τ = f ( τ , τ c , τ c ) 0 τ 0 τ c d τ d τ = f ( τ , τ c , τ c ) τ τ c ; F τ ( τ , τ c , τ c ) = 0 τ 0 τ c f τ ( τ , τ , τ c ) | τ = τ c d τ d τ = 0 τ f ( τ , τ c , τ c ) d τ = f ( τ , τ c , τ c ) τ ; F τ ( τ , τ c , τ c ) = 0 τ 0 τ c f τ ( τ , τ c , τ ) | τ = τ c d τ d τ = f τ ( τ , τ c , τ c ) | τ = τ c τ τ c ;
Here we have used Barrow’s theorem [38]
( a t f ( x ) d x ) = f ( t ) .
Note that as distinct from double integrating within the definite limits, the first derivatives do not disappear and must be taken into account. We include them in error.
We will write down separately the errors for triangular and square elements. The integration error (18) for each triangular element takes the form
R i ( τ ) = 1 / 2 S t r e l i ( τ ) ( h ( τ ) F τ ( τ , τ c , τ c ) + h ( τ ) F τ ( τ , τ c , τ c ) )   ( i = 1 , n ( τ ) ¯ ) .
The error of integration (18) for each square element is
R i j ( τ ) = 1 / 24 S s q e l i j ( τ ) ( h 2 ( τ ) F τ τ ( τ , τ c , τ c ) + h 2 ( τ ) F τ τ ( τ , τ c , τ c ) ) ( i = 1 , n ( τ ) 1 ¯ ,   j = i + 1 , n ( τ ) ¯ ) .
Here S t r e l i ( τ ) and S s q e l i j ( τ ) are areas of the ith triangular element and the ijth square element accordingly.
Summing the expressions (19) and (20) for the region in which the integral is defined, we obtain the error of our method
R ( τ ) h ( τ ) 2 ( ( V q u a d e l ( τ ) )   F τ ( τ , τ , τ ) d τ d τ + ( V q u a d e l ( τ ) )   F τ ( τ , τ , τ ) d τ d τ ) + h 2 ( τ ) 24 ( ( V triangular e l ( τ ) ) F τ τ ( τ , τ , τ ) d τ d τ + ( V triangular e l ( τ ) ) F τ τ ( τ , τ , τ ) d τ d τ )
or
R ( τ ) = O ( 2 h ( τ ) + 2 h 2 ( τ ) ) = O ( 2 h ( τ ) ) .
Since higher degrees of h(τ) are rejected in the estimates (19) and (20), the relation for the error (21) is asymptotic, and it is satisfied at h(τ)→0 with an accuracy to the terms of a higher order of smallness than h(τ).
If we impose the definite limits of integration, the obtained Formula (21) is reduced to the classical formula for the error by the expansion of an integrand into the Taylor series and estimation of the error of the method takes the form R ( τ ) = O ( 2 h 2 ( τ ) ) .

4. Examples of Numerical Integration for the Double Integral with Variable Upper Limits

To test the efficiency and reliability of the obtained formulas of the numerical method, we apply it to the integration of sufficiently simple functions for which the integration expression can be found analytically.
I. Let such an integrand be given f(τ′, τ″) = τ′τ″. The surface formed by the function f(τ′, τ″) over the integration region is shown in Figure 6.
Then we calculate the integral I n u m = 0 τ 0 τ τ τ d τ d τ by Formulas (15)–(17) depending on the number of division elements changes and the grid width and analytically, namely I a n a l y t = 1 8 τ .
The results of calculations are shown in Table 1, Table 2, Table 3 and Table 4 for different numbers of triangular elements n(τ) and grid width h(τ). It is given the values of the total volumes of square V s q e l and triangular V t r e l elements, the difference between the analytical and numerical calculation |IanalytInum|, as well as the relative error E(τ)= |IanalytInum/Ianalyt| [39,40]. We choose such basic values of parameters n(1) = 104, h(1) = 10−4.
Table 1 shows the corresponding values for the case when only the size of the imposed grid h(τ) changes with the change of τ, (A). The calculated values for the case when only the number of division elements N e l ( τ ) changes. With the change of τ, (B) are presented in Table 2. In Table 3 and Table 4 it is shown the corresponding values of integration parameters for the case when with the change of τ, both the size of the grid and the number of division elements change (C). The change in the number of nodes in Table 3 is described by the increasing function n ( τ ) = 10 4 · τ 3 , then h ( t ) = 10 4 · τ 2 3 . The change in the number of nodes in Table 4 is described by the decreasing function n ( τ ) = 10 4 / τ 3 , and then h ( t ) = 10 4 · τ 4 3 .
Figure 7 demonstrates comparative graphs of absolute and relative errors in numerical integration by Formula (15) of the case of A, (16) of the case of B, (17) of the cases of C1 for increasing function n(τ) and C2 for decreasing n(τ).
Note that the values closest to the analytical values of the integral are obtained in the case of the constant width of the grid and of increase in the number of partition elements together with an increase in the integration (Figure 7a,b). The results calculated by the Formula (17) at the imposition of the increasing function of nodes quantity n(τ) (case C1, Figure 7) show that the values of absolute and relative errors are quite acceptable. However, in this case, the number of operations is smaller than in the case of B. Note that only one case C2, i.e., imposition of the decreasing function of the number of nodes n(τ), leads to a sharp increase in absolute and relative errors with increasing τ and can go beyond a given accuracy of calculations (Figure 7, Table 4). In the cases of A, B, and C1 the difference between the analytical and numerical calculations of |IanalytInum| is within the acceptable deviation.
In this case, at a denser grid overlaid on the variable region of integration both absolute and relative errors decrease. In particular, the difference |IanalytInum| decreases by two orders of magnitude when n increases by an order (Table 1, Table 2, Table 3 and Table 4).
II. Consider next integrand f(τ′, τ″) = eττ″ for the same values of τ. The surface formed by the function f(τ′, τ″) over the integration region is shown in Figure 8.
We also calculate the integral I n u m = 0 τ 0 τ e τ τ d τ d τ by Formulas (15)–(17). The analytical expression has been found in the form I a n a l y t = 1 2 e τ ( τ 2 2 τ + 2 ) 1 .
The results of calculations are presented in Table 5, Table 6, Table 7 and Table 8 for different numbers of triangular elements n(τ) and grid width h(τ).
Table 5 shows the corresponding values for the case when only the size of the imposed grid h(τ) changes with the change of τ, (A). The calculated values for the case when only the number of division elements N e l ( τ ) changes with the change of τ, (B) are presented in Table 6. In Table 7 and Table 8 it is shown the values of integration parameters for the case when with the change of τ, both the size of the grid and the number of division elements change (C), namely for n ( τ ) = 10 4 · τ 3 , h ( t ) = 10 4 · τ 2 3 and n ( τ ) = 10 4 / τ 3 , h ( t ) = 10 4 · τ 4 3 correspondingly.
Figure 9 demonstrates comparative graphs of absolute (Figure 9a) and relative (Figure 9b) errors in numerical integration 0 τ 0 τ exp ( τ ) τ d τ d τ by Formula (15) of the case of A, (16) of the case of B, (17) of the cases of C1 for increasing function n(τ) and C2 for decreasing n(τ).
When the integrand contains an exponential function, the sharp increase in the integrand has almost no effect on the value of both absolute and relative errors for numerical calculation of the integral by Formulas (16) and (17) under the increasing function of the number of nodes, i.e., case C1 (Figure 9, Table 6 and Table 7).
For this integral, the difference between the analytical and numerical calculation |IanalytInum| is also within the acceptable deviation for the cases of A, B, and C1. However, as distinct from the previous case I, the magnitude of this difference is an order larger. So, for the case of B and n ( τ ) = 10 4 , τ = 20 E ( τ ) | f ( τ , τ ) = τ τ , ~ 10 11 , but E ( τ ) | f ( τ , τ ) = e τ τ ~ 10 10 (Table 2 and Table 6). Herewith, when increasing n by an order of magnitude, the relative error decreases by two orders.
III. Now we consider the integrand f(τ′, τ″) = sin(τ′)sin(τ″) for the same values of τ. The surface formed by the function f(τ′, τ″) over the integration region is shown in Figure 10.
The integral I n u m = 0 τ 0 τ e τ τ d τ d τ is also calculated by Formulas (15)–(17). The analytical expression has been found in the form I a n a l y t = 1 4 sin ( 2 τ ) + 1 2 τ .
The results of calculations are presented in Table 9, Table 10, Table 11 and Table 12 for different numbers of triangular elements n(τ) and grid width h(τ).
Table 9 shows the corresponding values for the case when only the size of the imposed grid h(τ) changes with the change of τ, (A). The calculated values for the case when only the number of division elements N e l ( τ ) changes with the change of τ, (B) are presented in Table 10. In Table 11 and Table 12 it is shown the values of integration parameters for the case when with the change of τ, both the size of the grid and the number of division elements change (C), namely for n ( τ ) = 10 4 · τ 3 , h ( t ) = 10 4 · τ 2 3 and n ( τ ) = 10 4 / τ 3 , h ( t ) = 10 4 · τ 4 3 correspondingly.
Figure 11 demonstrates comparative graphs of absolute (Figure 11a) and relative (Figure 11b) errors in numerical integration 0 τ 0 τ sin ( τ ) sin ( τ ) d τ d τ by Formula (15) of the case of A, (16) of the case of B, (17) of the cases of C1 for increasing function n(τ) and C2 for decreasing n(τ).
Note that for the periodic integrand, the closest to the analytical value of the integral is obtained in the case of the constant width of the grid and in the case of an increase in the number of partition elements together with an increase in the integration region (Figure 11a,b). Here the results for the absolute and relative error calculated by the Formula (17) for the imposition of the increasing function of the number of nodes n(τ), case C1 (Figure 11) are quite acceptable. For this integrand, the integration results obtained by Formulas (15)–(17) with increasing τ remain within the given accuracy of calculations (Figure 11, Table 9, Table 10, Table 11 and Table 12).
In this case, the difference between the analytical and numerical calculation |IanalitInum| is of the same order as for the integrand f ( τ , τ ) = τ τ . When increasing n by an order of magnitude, the value of E(τ) also decreases by two orders of magnitude.
Note that for all three considered integrands, no significant accumulation of machine error was observed.
If we apply the proposed method to calculate the double integral with a given external limit of integration, the result is the same (within accuracy) as the value of the same integral, calculated by Maple. For example, according to the calculations in the Maple integral I τ = 5 = 0 5 0 τ τ τ d τ d τ = 78.125 , in our case I τ = 5 = 78.124998438 (the fifth line from the top in Table 1); integral I τ = 5 = 0 τ 0 τ exp ( τ ) τ d τ d τ = 1260.511852372 , in our case I τ = 5 = 1260.511811497 (the fifth line from the top in Table 5); integral I τ = 5 = 0 τ 0 τ sin ( τ ) sin ( τ ) d τ d τ = 0.256569932 , in our case I τ = 5 = 0.256569848 (the fifth line from the top in Table 9) under ε = 10 7 .
The CPU time of the program module was calculated by the algorithm in [41]. It was determined that the times of program execution for calculation of integral I τ = 5 = 0 5 0 τ τ τ d τ d τ were from 2.2189994808 s at n = 10 4 and to 215.3279999737 s at n = 10 5 ; of integral I τ = 5 = 0 5 0 τ exp ( τ ) τ d τ d τ were from 4.7030001646 s at n = 10 4 and to 463.6879999191 s at n = 10 5 ; of integral I τ = 5 = 0 5 0 τ sin ( τ ) sin ( τ ) d τ d τ were from 6.4680001466 s at n = 10 4 and to 635.4220004054 s at n = 10 5 .

5. Application of the Method to Calculating the Double Integral with Variable Upper Limits Depending on One External Variable

We use the proposed method to calculate double integrals with variable upper limits, which are functions of the external variable τ but do not depend on the integration variables. This kind of integrals is in some sense a partial case of the above integrals with due regard that there is no variable limit τ = τ in the region of integration (Figure 3). At the same time, the integration region in 0 τ 0 g ( τ ) f ( τ , τ , τ ) d τ d τ is variable.
Taking into account that in all considered examples of the application of the method in chapter 4, the lowest values of absolute and relative errors are achieved in the case of increasing the number of variable elements of division and fixing the grid cell size, i.e., Case B, here we consider only this case of constructing a variable grid.
Divide the integration region [ 0 ,   g ( τ ) ] × [ 0 ,   τ ] into cells by a rectangular grid that contains m ( τ ) elements of the same length h m along the axis O τ and n ( τ ) elements of the same length h n along the axis O τ . Then in the case of B, the cubature formula with weight function w ( τ , τ ) 1 (16) is modified into the form
0 τ 0 g ( τ ) f ( τ , τ , τ ) d τ d τ i = 1 n ( τ ) j = 1 m ( τ ) h n h m   f ( τ i , τ j , τ ) ,
where τ i + 1 = τ i + h n ; τ j + 1 = τ j + h m .
We obtain the estimation of the error of the method for this case from Formula (21) taking into account the rectangular grid of division of the integration region and the notation introduced here. So, in the general case, we have
R ( τ ) h n ( τ ) h m ( τ ) 24 ( ( V rectangular e l ( τ ) ) F τ τ ( τ , τ , τ ) d τ d τ + ( V rectangular e l ( τ ) ) F τ τ ( τ , τ , τ ) d τ d τ ) .
or
R ( τ ) = O ( 2 h n ( τ ) h m ( τ ) ) .
If the lengths of the sides of rectangular cells are constant (fixed), then we obtain the estimation of the method error in the classical form of the error of the cells method [42].
Consider the typical cases of the kind of function g(τ).
(1)
g(τ) = τ.
In this case, the integration region is a square that enlarges equally along both coordinate axes in proportion to the growth τ (Figure 12).
Here we accept n ( τ ) = m ( τ ) , that is we impose a square grid. Then Formula (22) is simplified to the form
0 τ 0 τ f ( τ , τ , τ ) d τ d τ i = 1 n ( τ ) j = 1 n ( τ ) h n 2   f ( τ i , τ j , τ ) .
The application of this formula is implemented for the simple integrand f ( τ , τ ) = τ τ . The results of the calculations are shown in Table 13.
(2)
g(τ) = ατ.
In this case, the integration region is a rectangle that enlarges with growth τ. If α > 1 then the side length of this rectangle along the axis Oτ″ is always α times greater than the side length along the axis Oτ′. Then with increasing τ, the region of integration increases in two coordinates, but with a greater rate along the axis Oτ″ (Figure 13).
If α < 1 then the side length of this rectangle along the axis Oτ″ is always α times less than the side length along the axis Oτ′. Then with increasing τ, the region of integration increases in two coordinates, but with a greater rate along the axis Oτ′ (Figure 14).
When applying this method here and hereafter, under constructing a grid, it is not necessary to take into account the type of function g(τ), i.e., a rectangular grid can be overlayed in different combinations. We will abide by the structure of the function g(τ) when constructing the grid.
Let n(τ) = αm(τ). Then Formula (22) is modified to the form
0 τ 0 α τ f ( τ , τ , τ ) d τ d τ i = 1 [ n ( τ ) ] j = 1 [ n ( τ ) / α ] h n 2   f ( τ i , τ j , τ )
The application of this formula is implemented to calculate the integral 0 τ 0 α τ τ τ d τ d τ . The results of the calculations are shown in Table 14 for α > 1 and in Table 15 for α < 1.
(3)
g(τ) = τ2.
In this case, the integration region is also a rectangle that increases with growth τ. Moreover, the growth rate for this region along the axis Oτ″ is much greater than along the axis Oτ′ and the difference between them increases with the increase of τ (Figure 15).
Let n(τ) = (m(τ))2 under constructing the variable grid. Then the Formula (22) takes the form
0 τ 0 τ 2 f ( τ , τ , τ ) d τ d τ i = 1 [ n ( τ ) ] j = 1 [ n ( τ ) ] h n 2   f ( τ i , τ j , τ ) .
The application of this formula is implemented to the calculation of the integral 0 τ 0 τ 2 τ τ d τ d τ (Table 16).
(4)
g(τ) = 1 τ , τ 0 .
In this case, the integration region is also a rectangle that changes with growth τ. The integration region increases proportionally along the axis Oτ′ and decreases along the axis Oτ″ (Figure 16).
If at constructing the grid we choose a variable number of elements according to the type of function g(τ), i.e., for this case n(τ) = τm(τ), then with increasing τ the number of elements increases along the axis Oτ′, and decreases along the axis Oτ″ according to the change of the integration region. Then at each step, an additional check of the condition m(τ) ≥ 1 (or n(τ)/τ ≥ 1) is required, as there must be at least one grid element along the axis Oτ″.
For this case, we carry out the calculation of integrals by the formula
0 τ 0 1 / τ f ( τ , τ , τ ) d τ d τ i = 1 [ n ( τ ) ] j = 1 [ n ( τ ) / τ ] h n 2   f ( τ i , τ j , τ ) .
Its application was realized for the calculation of the integral 0 τ 0 1 / τ τ τ d τ d τ (Table 17).
In our opinion, for this case of the type of function g(τ) it is advisable to choose the construction of the grid in the case C1 with the correct (appropriate) choice of function m(τ) and step hm(τ).
If the function g(τ) is periodic (for example g(τ) = sin(τ)), then the region of integration is variable and rectangular. At the intervals of this function increasing, the integration region increases along the axis Oτ″, and at the intervals of decrease, it decreases along the axis Oτ″, respectively. That is, the increasing and decreasing of the integration region have cyclical (periodic) nature. Then the variable integration grid must be chosen by the case C1 with the choice of suitable periodic functions as m(τ) and hm(τ).

6. Conclusions and Perspectives

All obtained results are new. The numerical method for calculating doubles integrals with variable upper limits was developed. It can be divided into several stages as determining the variable region of integration; overlaying the square or rectangular grid on the integration region; separating the integration subregions consisting of square and triangular elements; applying the cubatures in the subregion with square elements; triangulation partition along variable boundary; calculating the volumes of elementary elements with triangular basis, calculating the reference integral and establishing the calculation error.
The variable region of integration leads to the necessity to change the grid of its division into elementary volumes. The variable of the upper limit of the external integral has a significant effect. Here we consider three cases of a possible change of the grid, namely when this variable changes, we change only the size of the imposed grid and fix the number of partition elements; only the number of division elements changes, and the grid size is fixed, as well as both the number of division elements and the grid size change under fixing their multiplication. In the latter case, we considered an assignment of increasing and decreasing functions describing the change in the number of integration nodes on specific examples. In all considered examples of the application of the proposed method the smallest values of absolute and relative errors are reached for the case of an increase of the number of division elements changes and the grid size is fixed. At the same time, the question remains whether the choice of the function of the number of integration nodes, which increases much more sharply, will give rise to descent the error of the method. Additionally, note that the imposition of a variable grid on the integration region, if necessary, can be applied to definite double integrals.
When finding the estimate of the error of the method, we expanded the integral itself into a Taylor series using Barrow’s theorem. If we impose the definite limits of integration, the obtained formula will be reduced to the classical formula for expanding an integrand into the Taylor series. It is also necessary to carry out an individual investigation on the influence of setting variables of the number of elements of the division of the integration region and the size of the grid on the error estimate.
In this paper, we have considered the case when a double integral with variable limits can be reduced to an integral with simple variables in the upper limits of integration and zero lower limits. However, the proposed changes of variables are not always appropriate. Therefore, further research is needed on numerical integration, which limits functions, including the establishment of conditions and constraints on these functions, the integrand, and the variable region of integration that will be formed.

Author Contributions

Conceptualization, O.C. and Y.B.; methodology, O.C. and N.S.; software, Y.B. and N.S.; validation, O.C., Y.B., N.S. and R.K.; formal analysis, O.C. and Y.B.; investigation, O.C. and Y.B.; resources, R.K.; data curation, N.S.; writing—original draft preparation, O.C. and Y.B.; writing—review and editing, R.K.; visualization, Y.B.; project administration, R.K.; funding acquisition, R.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ahmedov, A.A.; bin Abd Sathar, M.H. Numerical integration of the integrals based on Haar wavelets. J. Phys. Conf. Ser. 2013, 435, 012042. [Google Scholar] [CrossRef]
  2. Bomba, A.; Safonyk, A. Modelling of processes of liquids cleaning from multicomponent impurities in sorption filters. Phys. Math. Model Inf. Technol. 2012, 16, 32–41. [Google Scholar]
  3. Chernukha, O.; Bilushchak, Y.; Pakholok, B. System approach to mathematical description of transport processes with chemical reaction in multiphase multicomponent body. In Proceedings of the 2020 IEEE 2nd International Conference on System Analysis & Intelligent Computing (SAIC), Kyiv, Ukraine, 5–9 September 2020; pp. 144–149. [Google Scholar] [CrossRef]
  4. Chernukha, O.; Bilushchak, Y. Interpolation of Boundary Condition at Time-Interval of Unknown Lenghth for the Problem of Convective Diffusion in a Three-Layered Water Filter. In Modeling, Control and Information Technologies, Proceedings of III International Scientific and Practical Conference, Kyiv, Ukraine, 14–16 November 2019; National University of Water and Environmental Engineering: Kyiv, Ukraine, 2019; pp. 25–28. [Google Scholar]
  5. Klasson, K.T.; Taylor, P.A. Remediation of Groundwater Contaminated with Radioactive Compounds. Environ. Ecol. Chem. 2006, 3, 26–44. [Google Scholar]
  6. Lekatoua, A.; Karantzalisa, A.E.; Evangeloua, A.; Gousiaa, V.; Kaptayb, G.; Gacsib, Z.; Baumlib, P.; Simonb, A. Aluminium reinforced by WC and TiC nanoparticles (ex-situ) and aluminide particles (in-situ): Microstructure, wear and corrosion behaviour. Mater. Des. 2015, 65, 1121–1135. [Google Scholar] [CrossRef]
  7. Ma, R.; Zheng, C.; Liu, C. Groundwater Impacts of Radioactive Wastes and Associated Environmental Modeling Assessment. In Encyclopedia of Sustainability Science and Technology; Springer: New York, NY, USA, 2012; pp. 4774–4784. [Google Scholar]
  8. Panteleev, A.V.; Kudryavtseva, I.A. Chislennye metody. Praktikum. In Numerical Methods: Practical Work; Infra-M: Moscow, Russia, 2017; p. 416. [Google Scholar]
  9. Ueberhuber, C.W. Numerical Computation, Vol. II; Springer: Berlin, Germany, 1997. [Google Scholar]
  10. Zadachin, V.M.; Konyushenko, I.G. Numerical Methods; Publishing Kharkiv National Economic University: Kharkiv, Ukraine, 2014; p. 180. [Google Scholar]
  11. Maxwell, J.C. On approximate multiple integration between limits of summation. Cambridge Phil. Soc. Proc. 1880, 3, 39–47. [Google Scholar]
  12. Preston, C.; Hammer, A.W. Wymore Numerical Evaluation of Multiple Integrals I. Math. Tables Other Aids Comput. 1957, 11, 59–67. [Google Scholar]
  13. Haber, S. Numerical evaluation of multiple integrals. SIAM Rev. 1970, 12, 481–526. [Google Scholar] [CrossRef]
  14. Krylov, V.I. Approximate Calculation of Integrals; Nauka: Moscow, Ukraine, 1967. [Google Scholar]
  15. Mysovskikh, I.P. Interpolatory Cubature Formulas; Izdat. Nauka: Moscow, Russia, 1981. [Google Scholar]
  16. Cools, R. An encyclopaedia of cubature formulas. J. Complex. 2003, 19, 445–453. [Google Scholar] [CrossRef]
  17. Solodusha, S.; Bulatov, M. Integral Equations Related to Volterra Series and Inverse Problems: Elements of Theory and Applications in Heat Power Engineering. Mathematics 2021, 9, 1905. [Google Scholar] [CrossRef]
  18. Sobolev, S.L.; Vaskevich, V. The Theory of Cubature Formulas; Springer: New York, NY, USA, 1997; p. 438. [Google Scholar] [CrossRef]
  19. Lyness, J.N.; Cools, R. A survey of numerical cubature over triangles. In Preprint MCS-P410-0194, Mathematics and Computer Science Division; Argonne National Laboratory: Argonne, IL, USA, 1994. [Google Scholar] [CrossRef] [Green Version]
  20. Dai, F.; Xu, Y. Approximation Theory and Harmonic Analysis on Spheres and Balls; Springer: New York, NY, USA, 2013. [Google Scholar] [CrossRef]
  21. Glaubitz, J. Stable high order quadrature rules for scattered data and general weight functions. SIAM J. Numer. Anal. 2020, 58, 2144–2164. [Google Scholar] [CrossRef]
  22. Glaubitz, J. Construction and Application of Provable Positive and Exact Cubature Formulas. arXiv 2021, arXiv:2108.02848. [Google Scholar]
  23. Costabile, F.A.; Guzzardi, L. On a class of embedded cubature formulae on the simplex. Av. Cienc. Ing. 2014, 6, A19–A25. [Google Scholar]
  24. Keast, P. Cubature formulas for the sphere and the simplex (Technical report). J. Comput. Appl. Math. 1987, 17, 151–172. [Google Scholar] [CrossRef] [Green Version]
  25. Metropolis, N.; Ulam, S. The Monte Carlo method. J. Am. Stat. Assoc. 1949, 44, 335–341. [Google Scholar] [CrossRef]
  26. Neumann, J. Various techniques used in connection with random digits. National bureau of standards symposium. Appl. Math. Ser. 1951, 12, 36–38. [Google Scholar]
  27. Caflisch, R.E. Monte carlo and quasi-monte carlo methods. Acta Numer. 1998, 7, 1–49. [Google Scholar] [CrossRef] [Green Version]
  28. Filho, A.C.B.B. A computational algorithm for the numerical integration of a function of one or more variables. Int. J. Sci. Res. 2018, 7, 923–928. [Google Scholar] [CrossRef]
  29. Robert, C.; Casella, G. Monte Carlo Statistical Methods, 2nd ed.; Springer: New York, NY, USA, 2004. [Google Scholar]
  30. Stroud, A.H.; Secrest, D. Gaussian Quadrature Formulas; Prentice-Hall, Inc.: London, UK, 1966; 374p. [Google Scholar]
  31. Cools, R.; Rabinowitz, P. Monomial cubature rules since ‘‘Stroud’’: A compilation. J. Comput. Appl. Math. 1993, 48, 309–326. [Google Scholar] [CrossRef]
  32. Franke, R. Obtaining Cubatures for Rectangles and Other Planar Regions by Using Orthogonal Polynomials. Math. Comput. 1971, 25, 803–817. [Google Scholar] [CrossRef]
  33. Poole, D. Linear Algebra: A Modern Introduction, 2nd ed.; Thomson Brooks/Cole: Toronto, ON, Canada, 2006; 736p. [Google Scholar]
  34. Abramowitz, M.; Stegun, I.A. (Eds.) Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables; 9th Printing; US Government Printing Office: Washington, DC, USA, 1972; p. 880.
  35. Whittaker, E.T.; Watson, G.N. Forms of the Remainder in Taylor’s Series: A Course in Modern Analysis, 4th ed.; Cambridge University Press: Cambridge, UK, 1990; pp. 95–96. [Google Scholar]
  36. Laurie, D.P. Practical error estimation in numerical integration. J. Comput. Appl. Math. 1985, 12–13, 425–431. [Google Scholar] [CrossRef] [Green Version]
  37. Gavrilyuk, I.P.; Makarov, V.L. Methods of Calculation. Part 1; Publishing Vyshcha Shkola: Kyiv, Ukraine, 1995; p. 367. [Google Scholar]
  38. Dorogovtsev, A.Y. Mathematical Analysis. A Short Course in a Modern Presentation, 2nd ed.; Publishing Fakt: Kyiv, Ukraine, 2004; p. 560. [Google Scholar]
  39. Robert, S. Woodward Mathematical Monographs, No 7. Probability and Theory of Errors; Trieste Publishing Pty Limited: Victoria, Australia, 2017; p. 82. [Google Scholar]
  40. Topping, J. Theory of Errors. In Errors of Observation and Their Treatment; Chapman and Hall: London, UK, 1972; p. 120. [Google Scholar] [CrossRef]
  41. Elsayed, B.; Sultan, A.; Abdallah, G. A Comparative Study among New Hybrid Root Finding Algorithms and Traditional Methods. Mathematics 2021, 9, 1306. [Google Scholar] [CrossRef]
  42. Verzhbitsky, V.M. Numerical Methods. Linear Algebra and Nonlinear Equations: Textbook; Publishing House Higher School: Moscow, Russia, 2000. [Google Scholar]
Figure 1. Region of integration in the space Oττ′τ″ (a) and schematic representation of the set of integration regions in the space Oτ′τ″z (b).
Figure 1. Region of integration in the space Oττ′τ″ (a) and schematic representation of the set of integration regions in the space Oτ′τ″z (b).
Mathematics 10 00108 g001
Figure 2. Schematic representation of the set of integrands in the space Oτ′τ″z.
Figure 2. Schematic representation of the set of integrands in the space Oτ′τ″z.
Mathematics 10 00108 g002
Figure 3. Decomposition of the integration region for fixed τ (a) and of the integration region for increasing τ from t1 to t2 (b).
Figure 3. Decomposition of the integration region for fixed τ (a) and of the integration region for increasing τ from t1 to t2 (b).
Mathematics 10 00108 g003
Figure 4. Subregions consisting of square (a) and triangular (b) elements at the fixed τ.
Figure 4. Subregions consisting of square (a) and triangular (b) elements at the fixed τ.
Mathematics 10 00108 g004
Figure 5. Scheme of numerical double integration with variable upper limits for the fixed τ.
Figure 5. Scheme of numerical double integration with variable upper limits for the fixed τ.
Mathematics 10 00108 g005
Figure 6. The surface generated by the function f(τ′, τ″) = τ′τ″.
Figure 6. The surface generated by the function f(τ′, τ″) = τ′τ″.
Mathematics 10 00108 g006
Figure 7. Graphs of absolute (a) and relative (b) errors for four considered cases, A, B, C1, and C2, of the relation between the number of nodes and grid width for the integrand f(τ′, τ″) = τ′τ″.
Figure 7. Graphs of absolute (a) and relative (b) errors for four considered cases, A, B, C1, and C2, of the relation between the number of nodes and grid width for the integrand f(τ′, τ″) = τ′τ″.
Mathematics 10 00108 g007
Figure 8. The surface generated by the function f(τ′, τ″) = eττ″.
Figure 8. The surface generated by the function f(τ′, τ″) = eττ″.
Mathematics 10 00108 g008
Figure 9. Graphs of absolute (a) and relative (b) errors for four considered cases of A, B, C1, and C2 of the relation between the number of nodes and grid width for the integrand f(τ′, τ″) = exp(τ′)τ″.
Figure 9. Graphs of absolute (a) and relative (b) errors for four considered cases of A, B, C1, and C2 of the relation between the number of nodes and grid width for the integrand f(τ′, τ″) = exp(τ′)τ″.
Mathematics 10 00108 g009
Figure 10. The surface generated by the function f(τ′, τ″) = sin(τ′)sin(τ″).
Figure 10. The surface generated by the function f(τ′, τ″) = sin(τ′)sin(τ″).
Mathematics 10 00108 g010
Figure 11. Graphs of absolute (a) and relative (b) errors for four considered cases of A, B, C1, and C2 of the relation between the number of nodes and grid width for the integrand f(τ′, τ″) = sin(τ′)sin(τ″).
Figure 11. Graphs of absolute (a) and relative (b) errors for four considered cases of A, B, C1, and C2 of the relation between the number of nodes and grid width for the integrand f(τ′, τ″) = sin(τ′)sin(τ″).
Mathematics 10 00108 g011
Figure 12. Schematic representation of the set of integration regions in the points τ = τ1, τ = τ2, τ = τ3 for g(τ) = τ.
Figure 12. Schematic representation of the set of integration regions in the points τ = τ1, τ = τ2, τ = τ3 for g(τ) = τ.
Mathematics 10 00108 g012
Figure 13. Schematic representation of set of integration regions in the points τ = τ1, τ = τ2, τ = τ3 for g(τ) = ατ, α > 1.
Figure 13. Schematic representation of set of integration regions in the points τ = τ1, τ = τ2, τ = τ3 for g(τ) = ατ, α > 1.
Mathematics 10 00108 g013
Figure 14. Schematic representation of set of integration regions in the points τ = τ1, τ = τ2, τ = τ3 for g(τ) = ατ, α < 1.
Figure 14. Schematic representation of set of integration regions in the points τ = τ1, τ = τ2, τ = τ3 for g(τ) = ατ, α < 1.
Mathematics 10 00108 g014
Figure 15. Schematic representation of set of integration regions in the points τ = τ1, τ = τ2, τ = τ3 for g(τ) = τ2.
Figure 15. Schematic representation of set of integration regions in the points τ = τ1, τ = τ2, τ = τ3 for g(τ) = τ2.
Mathematics 10 00108 g015
Figure 16. Schematic representation of set of integration regions in the points τ = τ1, τ = τ2, τ = τ31 < τ2 < τ3) for g(τ) = 1 τ .
Figure 16. Schematic representation of set of integration regions in the points τ = τ1, τ = τ2, τ = τ31 < τ2 < τ3) for g(τ) = 1 τ .
Mathematics 10 00108 g016
Table 1. Calculation of integral 0 τ 0 τ τ τ d τ d τ for the case of A.
Table 1. Calculation of integral 0 τ 0 τ τ τ d τ d τ for the case of A.
n(τ)h(τ) τ V s q e l V t r e l IanalytInum|IanalytInum|E(τ)
1040.000110.1249833310.0000166670.1250.1249999982 × 10−91.999999992 × 10−8
1040.000221.9997332930.00026666721.999999964 × 10−81.999999992 × 10−8
1040.0003310.1236497980.0013510.12510.1249997982.03 × 10−72.000000004 × 10−8
1040.0004431.9957326930.0042666673231.999999366.4 × 10−71.999999992 × 10−8
1040.0005578.1145817710.01041666778.12578.1249984381.562 × 10−61.999999987 × 10−8
1040.00066161.978396760.0216162161.999996763.24 × 10−62.000000004 × 10−8
1040.00077300.0849773310.040016667300.125300.1249939986.002 × 10−61.999999967 × 10−8
1040.00088511.9317230940.068266666512511.999989761.024 × 10−51.999999992 × 10−8
1040.00099820.0156335980.109350000820.125820.1249835981.6402 × 10−51.999999987 × 10−8
1040.001101249.8333083340.16666666612501249.9999752.5 × 10−51.999999987 × 10−8
1040.0011111829.8809467310.2440166661830.1251830.124963393.6603 × 10−52.000000001 × 10−8
1040.0012122591.6543481610.34559999925922591.999948165.184 × 10−52.000000004 × 10−8
1040.0013133569.6489119320.4760166653570.1253570.124928597.1402 × 10−51.999999996 × 10−8
1040.0014144801.3596372950.64026666548024801.999903969.604 × 10−51.999999967 × 10−8
1040.0015156327.281123440.8437499986328.1256328.124873431.26562 × 10−41.999999974 × 10−8
1040.0016168190.9075694961.09226666481928191.999836161.6384 × 10−41.999999992 × 10−8
1040.0017171.0438732774534 × 1041.3920166631.044 × 1041.0440124791 × 1042.08803 × 10−42.000000001 × 10−8
1040.0018181.3120250137564 × 1041.749599996131221.3121999737 × 1042.6244 × 10−41.999999987 × 10−8
1040.0019191.6287952657536 × 1042.1720166611.629 × 1041.6290124674 × 1043.25802 × 10−41.999999984 × 10−8
1040.002201.9997332933340 × 1042.6666666602 × 1041.99999996 × 1044 × 10−41.999999987 × 10−8
Table 2. Calculation of integral 0 τ 0 τ τ τ d τ d τ for the case B.
Table 2. Calculation of integral 0 τ 0 τ τ τ d τ d τ for the case B.
n(τ)h(τ) τ V s q e l V t r e l IanalytInum|IanalytInum|E(τ)
1040.000110.1249833311.67 × 10−50.1250.1249999982.5 × 10−92 × 10−8
2 × 1040.000121.9998666570.00013333321.9999999910−85 × 10−9
3 × 1040.0001310.124549980.0004510.12510.124999982.25 × 10−82.2222 × 10−9
4 × 1040.0001431.998933290.0010666673231.999999964 × 10−81.25 × 10−9
5 × 1040.0001578.12291660.00208333378.12578.124999946.25 × 10−88 × 10−9
6 × 1040.00016161.99639990.0036162161.99999999.00002 × 10−85.5556 × 10−10
7 × 1040.00017300.11928320.005716667300.125300.12499991.225 × 10−74.0816 × 10−10
8 × 1040.00018511.99146650.008533333512511.99999981.60001 × 10−73.1250 × 10−10
9 × 1040.00019820.11284980.01215820.125820.12499982.02501 × 10−72.4692 × 10−10
10 × 1040.0001101249.9833330.016666667125012502.50003 × 10−72 × 10−10
11 × 1040.0001111830.1028160.0221833331830.1251830.1253.02503 × 10−71.6529 × 10−10
12 × 1040.0001122591.97120.0288259225923.60004 × 10−71.3889 × 10−10
13 × 1040.0001133570.0883830.0366166673570.1253570.1254.22503 × 10−71.1834 × 10−10
14 × 1040.0001144801.9542660.045733333480248024.90006 × 10−71.0204 × 10−10
15 × 1040.0001156328.0687490.056256328.1256328.1249995.62506 × 10−78.8890 × 10−11
16 × 1040.0001168191.9317330.06826666781928191.9999996.40006 × 10−77.8126 × 10−11
17 × 1040.0001171.044004312 × 1040.0818833331.0440125 × 1041.0440125 × 1047.22506 × 10−76.9205 × 10−11
18 × 1040.0001181.31219028 × 1040.09721.3122 × 1041.3122 × 1048.10030 × 10−76.1731 × 10−11
19 × 1040.0001191.629001068 × 1040.1143166671.6290125 × 1041.6290125 × 1049.02534 × 10−75.5404 × 10−11
20 × 1040.0001201.999986667 × 1040.1333333332 × 1042 × 1041.00003 × 10−65.0002 × 10−11
Table 3. Calculation of integral 0 τ 0 τ τ τ d τ d τ for the case C for increasing function n ( τ ) = 10 4 · τ 3 .
Table 3. Calculation of integral 0 τ 0 τ τ τ d τ d τ for the case C for increasing function n ( τ ) = 10 4 · τ 3 .
n(τ)h(τ) τ V s q e l V t r e l IanalytInum|IanalytInum|E(τ)
1 × 1040.000110.12498333080.00001666670.1250.12499999752.5 × 10−92 × 10−8
1.2599 × 1040.00015921.99978831780.00021165721.99999997482.5199263 × 10−81.26 × 10−8
1.4422 × 1040.000208310.12406383270.000936069910.12510.12499990269.735854 × 10−89.616 × 10−9
1.5874 × 1040.000252431.99731191270.00268783343231.9999997462.539845 × 10−77.937 × 10−9
1.71 × 1040.000292578.11890784770.006091617978.12578.12499946565.3435247 × 10−76.84 × 10−9
1.8171 × 1040.000336161.98811194590.0118870728162161.99999901879.8126738 × 10−76.057 × 10−9
1.9129 × 1040.0003667300.10407898760.020919372300.125300.12499835961.640392 × 10−65.466 × 10−9
2 × 1040.00048511.96586410670.0341333333512511.999997442.5599998 × 10−65 × 10−9
2.0801 × 1040.0004339820.07242662110.052569588820.125820.12499620913.7908936 × 10−64.622 × 10−9
2.1544 × 1040.000464101249.92263355420.077361059512501249.99999461375.3862598 × 10−64.309 × 10−9
2.224 × 1040.000495111830.01527287570.10971972421830.1251830.12499259987.4001611 × 10−64.044 × 10−9
2.2894 × 1040.000524122591.8490335270.150956582425922591.99999010949.8905776 × 10−63.816 × 10−9
2.3513 × 1040.000553133569.9225387940.20244829093570.1253570.12498708491.2915086 × 10−53.618 × 10−9
2.4101 × 1040.000581144801.73432367310.265659792748024801.99998346581.6534156 × 10−53.443 × 10−9
2.4662 × 1040.000608156327.7828536540.34212553716328.1256328.12497919112.0808869 × 10−53.288 × 10−9
2.5198 × 1040.000635168191.566500640.433473555981928191.9999741962.5804043 × 10−53.15 × 10−9
2.5713 × 1040.000661171.04395836015357 × 1040.5413668831.044 × 1041.04401249684 × 1043.1581314 × 10−53.025 × 10−9
2.6207 × 1040.000687181.31213323538976 × 1040.66760789081.3122 × 1041.31219999618 × 1043.8211616 × 10−52.912 × 10−9
2.6684 × 1040.000712191.6289310977079 × 1040.81397716461.629 × 1041.62901249542 × 1044.5756477 × 10−52.809 × 10−9
2.7144 × 1040.000737201.99990175309358 × 1040.98241477522 × 1041.99999999457 × 1045.4289055 × 10−52.714 × 10−9
Table 4. Calculation of integral 0 τ 0 τ τ τ d τ d τ for the case C for decreasing function n ( τ ) = 10 4 / τ 3 .
Table 4. Calculation of integral 0 τ 0 τ τ τ d τ d τ for the case C for decreasing function n ( τ ) = 10 4 / τ 3 .
n(τ)h(τ) τ V s q e l V t r e l IanalytInum|IanalytInum|E(τ)
1040.000110.1249833311.67 × 10−50.1250.1249999982.5 × 10−92 × 10−8
79370.00025198421.9996639570.00033597921.9999999376.3496 × 10−83.1748 × 10−8
69340.000432651310.123052650.00194692810.12510.124999584.2117 × 10−74.1597 × 10−8
63000.000634921431.99322590.0067724873231.999998391.6125 × 10−65.0391 × 10−8
58480.000854993578.107183070.01781235778.12578.124995434.5688 × 10−65.8481 × 10−8
55030.0010903146161.9607380.039251317162161.99998931.0699 × 10−56.6044 × 10−8
52280.0013389447300.04843510.076542973300.125300.1249782.1961 × 10−57.3174 × 10−8
50000.00168511.86342570.136533332512511.9999594.096 × 10−58 × 10−8
48070.001872279819.89744830.227480755820.125820.1249297.0984 × 10−58.6553 × 10−8
46420.002154244101249.6408430.35904063912501249.9998841.1602 × 10−49.2815 × 10−8
44960.002446619111829.5820770.542741691830.1251830.1248191.8107 × 10−49.8941 × 10−8
43680.002747253122591.208520.79120878125922591.9997282.7171 × 10−41.0482 × 10−7
42530.003056666133569.0053561.1192491423570.1253570.1246053.9475 × 10−41.1057 × 10−7
41490.003374307144800.4562591.54318307448024801.9994425.5791 × 10−41.1618 × 10−7
40550.003699137156326.0434662.0807644576328.1256328.124237.6970 × 10−41.2163 × 10−7
39690.004031242168189.2469652.75199458181928191.998961.0401 × 10−31.2696 × 10−7
38890.004371304171.043654425 × 1043.57936910210440.1251.044012362 × 1041.3806 × 10−31.3224 × 10−7
38160.004716981181.311741329 × 1044.5849055821.3122 × 1041.31219982 × 1041.8022 × 10−31.3735 × 10−7
37480.00506937191.628432755 × 1045.795135081.62901 × 1041.629012268 × 1042.3193 × 10−31.4237 × 10−7
36840.005428882201.999275854 × 1047.2385087342 × 1041.999999705 × 1042.9473 × 10−31.4736 × 10−7
Table 5. Calculation of integral 0 τ 0 τ exp ( τ ) τ d τ d τ for the case of A.
Table 5. Calculation of integral 0 τ 0 τ exp ( τ ) τ d τ d τ for the case of A.
n(τ)h(τ) τ V s q e l V t r e l IanalytInum|IanalytInum|E(τ)
1040.000110.3590909060.000050.3591409140.3591409060.0000000082.267 × 10−8
1040.000226.3882170480.0008389066.3890560996.3890559540.0000001452.271 × 10−8
1040.0003349.2076654380.00617566149.21384230849.2138410990.0000012092.457 × 10−8
1040.00044271.9577836920.032958890271.990750166271.9907425820.0000075842.788 × 10−8
1040.000551260.3631483410.1486631571260.5118523721260.5118114970.0000408743.243 × 10−8
1040.000665242.9686726660.6054431775243.5743154065243.5741158430.0001995623.806 × 10−8
1040.000772.028440925 × 1042.3032795702.0286713430927 × 1042.028671252433 × 1040.0009065954.469 × 10−8
1040.0008874514.5987 × 1048.3470820777.4522.949676043 × 1047.452294578116 × 1040.0038948785.226 × 10−8
1040.000992.633200401 × 10529.1715509082.633492276462 × 1052.633492116479 × 1050.0159982226.075 × 10−8
1040.001109.029849147 × 10599.1195910299.0308409758708 × 1059.030840342614 × 1050.0633257117.012 × 10−8
1040.0011113.023313605 × 106329.308309513.0236431566175 × 1063.023642913616 × 1060.2430012338.037 × 10−8
1040.0012129.926966186 × 1061074.18214729.9280412765592 × 1069.928040368388 × 1060.9081711519.148 × 10−8
1040.0013133.207151578 × 1073450.82482423.2074969920647 × 1073.207496660282 × 1073.3178230971.034 × 10−7
1040.0014141.022104076 × 1081.09436987 × 1041.0222136315401 × 1081.022213512703 × 10811.8837329321.163 × 10−7
1040.0015153.219638437 × 1083.43246795 × 1043.219982101885 × 1083.219981683553 × 10841.8332028551.299 × 10−7
1040.0016161.004023709 × 1091.06633314 × 1051.0041304878174 × 1091.004130342796 × 109145.0213100751.444 × 10−7
1040.0017173.103582425 × 1093.28507313 × 1053.1039114278344 × 1093.103910931908 × 109495.9262859821.598 × 10−7
1040.0018189.519689251 × 1091.00459738 × 1069.5206955239129 × 1099.520693848599 × 1091675.313905211.760 × 10−7
1040.0019192.900031626 × 10103.05204684 × 1062.9003373905518 × 10102.9003368308 × 10105597.538887661.930 × 10−7
1040.002208.780566371 × 10109.21813702 × 1068.781490036817 × 10108.7814881851 × 10101.85171357 × 1042.109 × 10−7
Table 6. Calculation of integral 0 τ 0 τ exp ( τ ) τ d τ d τ for the case of B.
Table 6. Calculation of integral 0 τ 0 τ exp ( τ ) τ d τ d τ for the case of B.
n(τ)h(τ) τ V s q e l V t r e l IanalytInum|IanalytInum|E(τ)
1 × 1040.000110.3590909060.0000500000.3591409140.3591409060.0000000082.267 × 10−8
2 × 1040.000126.388636610.0004194536.3890560996.3890560630.0000000365.682 × 10−9
3 × 1040.0001349.211783620.00205855449.21384230849.213842170.0000001342.723 × 10−9
4 × 1040.00014271.982510.008239722271.990750166271.99074970.0000004741.743 × 10−9
5 × 1040.000151260.4821180.0297326321260.5118523721260.5118510.000001631.293 × 10−9
6 × 1040.000165243.4734030.1009071985243.5743154065243.574310.000005541.057 × 10−9
7 × 1040.000172.028638 × 1040.3290399472.0286713431 × 1042.028671341 × 1040.00001859.119 × 10−10
8 × 1040.000187.452191 × 1041.0433852957.4522.949676 × 1047.452294962 × 1040.00006098.172 × 10−10
9 × 1040.000192.633168 × 10532.412834022.63349.227646 × 1052.633492274 × 1050.0001975097.5 × 10−10
10 × 1040.0001109.02985 × 10599.119591039.03084097587 × 1059.03084.097 × 1050.0006332577.012 × 10−10
11 × 1040.0001113.023344 × 106299.37119363.023643.15661 × 1063.023643155 × 1060.0020082756.642 × 10−10
12 × 1040.0001129.927146 × 106895.15180879.928041.27656 × 1069.92804127 × 1060.0063067446.352 × 10−10
13 × 1040.0001133.207232 × 1072654.4807233.20749699206 × 1073.2074969 × 1070.019632096.121 × 10−10
14 × 1040.0001141.0221355 × 1087816.9279711.02221363154 × 1081.02221363 × 1080.0606312935.931 × 10−10
15 × 1040.0001153.21975326 × 1082.2883121 × 1043.21998210189 × 1083.2199821 × 1080.1859253515.774 × 10−10
16 × 1040.0001161.00406384 × 1096.6645826 × 1041.00413048782 × 1091.004130487 × 1090.5664895185.642 × 10−10
17 × 1040.0001173.10371819 × 1091.9323961 × 1053.10391142783 × 1093.103911426 × 1091.7160080365.529 × 10−10
18 × 1040.0001189.52013741 × 1095.5810971 × 1059.52069552391 × 1099.520695519 × 1095.1707224415.431 × 10−10
19 × 1040.0001192.9001768 × 10101.6063406 × 1062.9003373906 × 10102.900337389 × 101015.505649775.346 × 10−10
20 × 1040.0001208.7810291 × 10104.6090691 × 1068.7814900368 × 10108.781490032 × 101046.292846125.272 × 10−10
Table 7. Calculation of integral 0 τ 0 τ exp ( τ ) τ d τ d τ for the case of C for increasing function n ( τ ) = 10 4 · τ 3 .
Table 7. Calculation of integral 0 τ 0 τ exp ( τ ) τ d τ d τ for the case of C for increasing function n ( τ ) = 10 4 · τ 3 .
n(τ)h(τ) τ V s q e l V t r e l IanalytInum|IanalytInum|E(τ)
1 × 1040.000110.3590909060.000050.3591409140.3591409060.0000000082.267 × 10−8
1.2599 × 1040.00015926.3883901570.0006658516.3890560996.3890560080.0000000911.431 × 10−8
1.4422 × 1040.000208349.2095596150.00428211149.2138423149.2138417270.0000005811.181 × 10−8
1.5874 × 1040.0002524271.9699843430.020762813271.9907502271.9907471560.0000030101.107 × 10−8
1.71 × 1040.00029251260.4249008740.0869375191260.5118521260.5118383930.0000139781.109 × 10−8
1.8171 × 1040.00033065243.2410629640.3331920025243.5743155243.5742549660.0000604391.153 × 10−8
1.9129 × 1040.00036672.028550910579 × 1041.2040773782.028671343 × 1042.0286713183168 × 1040.0002477591.221 × 10−8
2 × 1040.00040087.451877516118 × 1044.1735411467.452294968 × 1047.4522948702324 × 1040.0009737191.307 × 10−8
2.0801 × 1040.00043392.633351998384 × 10514.024110312.633492276 × 1052.63349223948742 × 1050.0036974581.404 × 10−8
2.1544 × 1040.000464109.030380759622 × 10546.0079813359.030840976 × 1059.03084083943526 × 1050.0136435501.511 × 10−8
2.224 × 1040.000495113.023495037198 × 106148.07029023.023643157 × 1063.02364310748837 × 1060.0491291161.625 × 10−8
2.2894 × 1040.000524129.927571905155 × 106469.1981343739.928041277 × 1069.92804110328883 × 1060.1732704071.745 × 10−8
2.3513 × 1040.000553133.207350169621 × 1071467.62431693.207496992 × 1073.20749693205281 × 1070.6001186101.871 × 10−8
2.4101 × 1040.000581141.022168203424 × 1084540.76573931.022213632 × 1081.02221361108113 × 1082.0458926192.001 × 10−8
2.4662 × 1040.000608153.219842852655 × 1081.391804499 × 1043.219982102 × 1083.21998203310464 × 1086.8780388242.136 × 10−8
2.5198 × 1040.000635161.004088146807 × 1094.23181701 × 1041.004130488 × 1091.0041304649772 × 10922.8401877032.275 × 10−8
2.5713 × 1040.000661173.103783593579 × 1091.277592469 × 1053.103911428 × 1093.10391135282573 × 10975.0086963512.417 × 10−8
2.6207 × 1040.000687189.520311948239 × 1093.83331.746 × 1059.520695524 × 1099.52069527998495 × 109243.9279738292.562 × 10−8
2.6684 × 1040.000712192.90022293451 × 10101.143774275 × 1062.900337391 × 10102.90033731193863 × 1010786.1316756052.71 × 10−8
2.7144 × 1040.000737208.78115018417 × 10103.396013293 × 1068.781490037 × 10108.78148978549772 × 10102513.1948456022.862 × 10−8
Table 8. Calculation of integral 0 τ 0 τ exp ( τ ) τ d τ d τ for the case of C for decreasing function n ( τ ) = 10 4 / τ 3 .
Table 8. Calculation of integral 0 τ 0 τ exp ( τ ) τ d τ d τ for the case of C for decreasing function n ( τ ) = 10 4 / τ 3 .
n(τ)h(τ) τ V s q e l V t r e l IanalytInum|IanalytInum|E(τ)
1 × 1040.000110.3590909060.000050.3591409140.3591409060.0000000082.267 × 10−8
79370.0002526.3879989130.0010569566.3890560996.3890558690.000000233.605 × 10−8
69340.00043349.2049334460.00890634749.2138423149.2138397930.0000025155.11 × 10−8
63000.000634271.9384153610.052315697271.9907502271.9907310580.0000191077.025× 10−8
58480.0008551260.2575208960.2542119571260.5118521260.5117328530.0001195199.482 × 10−8
55030.0010965242.4734508031.1002056125243.5743155243.5736564150.000658991.257 × 10−7
52280.0013472.028230445327 × 1044.4056606792.028671343 × 1042.0286710113953 × 1040.0033169731.635 × 10−7
50000.0016087.45062399341 × 10416.6941624377.452294968 × 1047.4522934096532 × 1040.0155795112.091 × 10−7
48070.0018792.6328847285547 × 10560.6855560912.633492276 × 1052.63349158411563 × 1050.0692346372.629 × 10−7
46420.00215109.0287027597645 × 105213.5277308289.030840976 × 1059.03083803707273 × 1050.2938798023.254 × 10−7
44960.00245113.0229095073427 × 106732.4471327213.023643157 × 1063.02364195447544 × 1061.2021420533.976 × 10−7
43680.00275129.925577309137 × 1062459.2074728519.928041277 × 1069.92803651660984 × 1064.7599494034.794 × 10−7
42530.00306133.206683772061 × 1078113.85737213.207496992 × 1073.2074951.5779861 × 10718.34266075.719 × 10−7
41490.00337141.0219491741747 × 10826376.7020856 × 1041.022213632 × 1081.02221294119557 × 10869.03444926.753 × 10−7
40550.00370153.2191330803007 × 1088.4647745487 × 1043.219982102 × 1083.21997955775555 × 108254.41294797.901 × 10−7
39690.00403161.0038609019518 × 1092.68665268872 × 1051.004130488 × 1091.00412956722071 × 109920.59668309.168 × 10−7
38890.00437173.1030634405218 × 1098.44708315902 × 1053.103911428 × 1093.10390814883765 × 1093278.99677291.056 × 10−6
38160.00472189.5180514287336 × 1092.63259037681 × 1069.520695524 × 1099.52068401911039 × 1091.1504802533 × 1041.208 × 10−6
37480.00507192.8995190932092 × 10108.14312624403 × 1062.900337391 × 10102.90033340583357 × 10103.9847182199 × 1041.374 × 10−6
36840.00543208.7789741872444 × 10102.50220580946 × 1078.781490037 × 10108.78147639305388 × 10101.3643763326 × 1051.554 × 10−6
Table 9. Calculation of integral 0 τ 0 τ sin ( τ ) sin ( τ ) d τ d τ for the case of A.
Table 9. Calculation of integral 0 τ 0 τ sin ( τ ) sin ( τ ) d τ d τ for the case of A.
n(τ)h(τ) τ V s q e l V t r e l IanalytInum|IanalytInum|E(τ)
1040.000110.1056473491.36 × 10−50.1056609850.1056609832.2104 × 10−92.092 × 10−8
1040.000221.0026169860.000118921.0027359311.0027359062.498 × 10−82.4912 × 10−8
1040.000331.9797995150.0002354781.9800350681.9800349947.4699 × 10−83.7726 × 10−8
1040.000441.3669179660.0003505321.3672686121.3672684981.1406 × 10−78.3423 × 10−8
1040.000550.2559108470.0006590010.2565699320.2565698488.4197 × 10−83.2816 × 10−7
1040.00066−0.0001470470.0009402430.0007932030.0007931967.1455 × 10−99.0085 × 10−6
1040.000770.0291436690.0011383220.030282050.0302819915.9057 × 10−81.9502 × 10−6
1040.000880.6544560420.001628790.6560851640.6560848323.3157 × 10−75.0537 × 10−7
1040.000991.8240993020.0021094861.8262094391.8262087886.5074 × 10−73.5633 × 10−7
1040.001101.6887053840.0023858821.6910920451.6910912667.7861 × 10−74.6042 × 10−7
1040.0011110.4925573260.0030262170.4955840950.4955835435.5235 × 10−71.1145 × 10−6
1040.0012120.0084548450.0037358370.0121907930.0121906821.1096 × 10−79.1021 × 10−6
1040.0013130.0001818870.0041010840.0042830490.0042829727.7604 × 10−81.8119 × 10−5
1040.0014140.3677579390.0048525910.3726113150.372610537.8514 × 10−72.1071 × 10−6
1040.0015151.542438830.0058102561.5482507751.5482490861.6894 × 10−61.0911 × 10−6
1040.0016161.9099235090.0062897151.916215321.9162132232.097 × 10−61.0944 × 10−6
1040.0017170.8059065530.007112570.8130207690.8130191231.6468 × 10−62.0255 × 10−6
1040.0018180.0493686840.008323150.0576923690.0576918355.3471 × 10−79.2683 × 10−6
1040.001919−0.008890840.0089546126.38 × 10−56.38 × 10−52.0367 × 10−83.1927 × 10−4
1040.002200.1653685760.0098137220.1751834230.1751822971.1254 × 10−66.4243 × 10−6
Table 10. Calculation of integral 0 τ 0 τ sin ( τ ) sin ( τ ) d τ d τ for the case B.
Table 10. Calculation of integral 0 τ 0 τ sin ( τ ) sin ( τ ) d τ d τ for the case B.
n(τ)h(τ) τ V s q e l V t r e l IanalytInum|IanalytInum|E(τ)
1 × 1040.000110.1055244260.0001365570.1056609850.1056609832.2104 × 10−92.092 × 10−8
2 × 1040.000121.0021407060.0005952191.0027359311.0027359256.2451 × 10−96.2281 × 10−9
3 × 1040.000131.9792493110.0007857491.9800350681.980035068.2999 × 10−94.1918 × 10−9
4 × 1040.000141.3663915690.0008770361.3672686121.3672686057.1288 × 10−95.2139 × 10−9
5 × 1040.000150.2552515930.0013183360.2565699320.2565699293.3679 × 10−91.3127 × 10−8
6 × 1040.00016−0.0007738880.0015670910.0007932030.0007932031.9849 × 10−102.5023 × 10−7
7 × 1040.000170.0286557560.0016262930.030282050.0302820491.2053 × 10−93.9801 × 10−8
8 × 1040.000180.6540486580.0020365010.6560851640.6560851595.1808 × 10−97.8965 × 10−9
9 × 1040.000191.8238647620.0023446691.8262094391.8262094318.0338 × 10−94.3992 × 10−9
10 × 1040.0001101.6887053840.0023866531.6910920451.6910920377.7861 × 10−94.6042 × 10−9
11 × 1040.0001110.4928325330.0027515580.4955840950.4955840914.5649 × 10−99.2111 × 10−9
12 × 1040.0001120.0090775190.0031132740.0121907930.0121907927.7057 × 10−106.3209 × 10−8
13 × 1040.0001130.0011283230.0031547260.0042830490.0042830494.592 × 10−101.0721 × 10−7
14 × 1040.0001140.3691447780.0034665330.3726113150.3726113114.0058 × 10−91.0751 × 10−8
15 × 1040.0001151.5443765210.0038742471.5482507751.5482507687.5082 × 10−94.8495 × 10−9
16 × 1040.0001161.912283430.0039318831.916215321.9162153128.1915 × 10−94.2748 × 10−9
17 × 1040.0001170.8088363350.0041844290.8130207690.8130207645.6983 × 10−97.0088 × 10−9
18 × 1040.0001180.0530682320.0046241360.0576923690.0576923681.6503 × 10−92.8606 × 10−8
19 × 1040.000119−0.0046491670.004712966.37928 × 10−56.37928 × 10−55.6423 × 10−118.8446 × 10−7
20 × 1040.0001200.1702762810.0049071390.1751834230.175183422.8136 × 10−91.6061 × 10−8
Table 11. Calculation of integral 0 τ 0 τ sin ( τ ) sin ( τ ) d τ d τ for the case of C for increasing function n ( τ ) = 10 4 · τ 3 .
Table 11. Calculation of integral 0 τ 0 τ sin ( τ ) sin ( τ ) d τ d τ for the case of C for increasing function n ( τ ) = 10 4 · τ 3 .
n(τ)h(τ) τ V s q e l V t r e l IanalytInum|IanalytInum|E(τ)
1 × 1040.000110.1056473491.36 × 10−50.1056609850.1056609832.2104 × 10−92.0920 × 10−8
1.2599 × 1040.00015874321.0026415279.44 × 10−51.0027359311.0027359161.5737 × 10−81.5694 × 10−8
1.4422 × 1040.00020801631.9798717550.0001632771.9800350681.9800350323.5914 × 10−81.8138 × 10−8
1.5874 × 1040.00025198441.3670477460.0002208221.3672686121.3672685674.5265 × 10−83.3106 × 10−8
1.71 × 1040.00029239850.2561845230.0003853810.2565699320.2565699032.8794 × 10−81.1223 × 10−7
1.8171 × 1040.00033019660.0002757590.0005174420.0007932030.0007932012.1641 × 10−92.7283 × 10−6
1.9129 × 1040.00036593770.0296869580.0005950770.030282050.0302820341.6139 × 10−85.3297 × 10−7
2 × 1040.000480.6552706860.0008143950.6560851640.6560850818.2892 × 10−81.2634 × 10−7
2.0801 × 1040.00043267291.8251951610.0010141271.8262094391.8262092891.5040 × 10−78.2355 × 10−8
2.1544 × 1040.000464166101.6899844310.0011074461.6910920451.6910918771.6775 × 10−79.9198 × 10−8
2.224 × 1040.000494604110.4942232750.0013607090.4955840950.4955839841.1167 × 10−72.2533 × 10−7
2.2894 × 1040.000524155120.0105589750.0016317970.0121907930.0121907722.1171 × 10−81.7366 × 10−6
2.3513 × 1040.000552886130.0025388580.0017441770.0042830490.0042830351.4037 × 10−83.2773 × 10−6
2.4101 × 1040.000580889140.370597740.002013440.3726113150.372611181.3517 × 10−73.6276 × 10−7
2.4662 × 1040.000608223151.5458945430.0023559551.5482507751.5482504982.7776 × 10−71.7940 × 10−7
2.5198 × 1040.000634971161.9137188740.0024961171.916215321.916214993.3027 × 10−71.7236 × 10−7
2.5713 × 1040.000661144170.8102543830.0027661380.8130207690.813020522.4908 × 10−73.0636 × 10−7
2.6207 × 1040.000686839180.0545163650.0031759260.0576923690.0576922917.7854 × 10−81.3495 × 10−6
2.6684 × 1040.00071203719−0.0032920080.0033557986.38 × 10−56.38 × 10−52.8606 × 10−94.4843 × 10−5
2.7144 × 1040.000736811200.1715678410.0036154290.1751834230.175183271.5275 × 10−78.7193 × 10−7
Table 12. Calculation of integral 0 τ 0 τ sin ( τ ) sin ( τ ) d τ d τ for the case of C for decreasing function n ( τ ) = 10 4 / τ 3 .
Table 12. Calculation of integral 0 τ 0 τ sin ( τ ) sin ( τ ) d τ d τ for the case of C for decreasing function n ( τ ) = 10 4 / τ 3 .
n(τ)h(τ) τ V s q e l V t r e l IanalytInum|IanalytInum|E(τ)
1040.000110.1056473491.36 × 10−50.1056609850.1056609832.2104 × 10−92.092 × 10−8
79370.00025198421.0025860620.000149831.0027359311.0027358923.9654 × 10−83.9546 × 10−8
69340.00043265131.9796953140.0003395991.9800350681.9800349131.5536 × 10−77.8465 × 10−8
63000.00063492141.3667119250.00055641.3672686121.3672683252.8738 × 10−72.1019 × 10−7
58480.00085499350.2554428030.0011268830.2565699320.2565696862.462 × 10−79.5957 × 10−7
55030.0010903146−0.0009154210.0017086010.0007932030.0007931792.3596 × 10−82.9747 × 10−5
52280.00133894470.0281044780.0021773560.030282050.0302818342.1607 × 10−77.1354 × 10−6
50000.001680.6528262570.0032575810.6560851640.6560838371.3263 × 10−62.0215 × 10−6
48070.0018722791.821818260.0043883631.8262094391.8262066232.8162 × 10−61.5421 × 10−6
46420.002154244101.685948660.0051397711.6910920451.6910884313.6134 × 10−62.1367 × 10−6
44960.002446619110.4888504530.006730910.4955840950.4955813632.7325 × 10−65.5137 × 10−6
43680.002747253120.0036374710.008552740.0121907930.0121902125.8157 × 10−74.7706 × 10−5
42530.00305666613−0.0053601830.0096428030.0042830490.004282624.2903 × 10−71.0017 × 10−4
41490.003374307140.3609109450.011695810.3726113150.3726067544.561 × 10−61.2241 × 10−5
40550.003699137151.5339118790.0143286221.5482507751.5482405011.0274 × 10−56.6358 × 10−6
39690.004031242161.9003549080.0158471011.916215321.9162020091.3312 × 10−56.9469 × 10−6
38890.004371304170.7947209390.0182889420.8130207690.8130098811.0888 × 10−51.3393 × 10−5
38160.004716981180.0358775050.0218111920.0576923690.0576886973.6719 × 10−66.3647 × 10−5
37480.0050693719−0.023828060.0238917086.38 × 10−56.36 × 10−51.4492 × 10−72.2717 × 10−3
36840.005428882200.1485363660.0266387640.1751834230.175175138.2924 × 10−64.7335 × 10−5
Table 13. Calculation of integral 0 τ 0 τ τ τ d τ d τ .
Table 13. Calculation of integral 0 τ 0 τ τ τ d τ d τ .
n(τ)h(τ) τ IanalytInum|IanalytInum|E(τ)
1040.000110.250.24995000000054.99999995000368 × 10−50.0001999999980001
2 × 1040.0001243.9996000000010.0003999999990013729.99999997503431 × 10−5
3 × 1040.0001320.2520.24865000000150.001349999998499116.66666665925489 × 10−5
4 × 1040.000146463.99680000000210.003199999997938154.99999999677836 × 10−5
5 × 1040.00015156.25156.2437500000030.00624999999746853.99999999837984 × 10−5
6 × 1040.00016324323.9892000000030.01079999999704933.33333333242263 × 10−5
7 × 1040.00017600.25600.2328500000040.01714999999644122.85714285654997 × 10−5
8 × 1040.0001810241023.97440.02559999999581282.49999999959109 × 10−5
9 × 1040.000191640.251640.213550.03644999999696172.22222222203699 × 10−5
1050.00011025002499.950000000010.04999999998996831.99999999959873 × 10−5
1.1 × 1050.0001113660.253660.183450000010.06654999998754651.81818181784158 × 10−5
1.2 × 1050.00011251845183.91360.0863999999957411.66666666658451 × 10−5
1.3 × 1050.0001137140.257140.140150000010.1098499999916451.53846153834453 × 10−5
1.4 × 1050.00011496049603.862800000010.1371999999928461.42857142849694 × 10−5
1.5 × 1050.00011512656.251.265608125 × 1040.1687500000019681.33333333334889 × 10−5
Table 14. Calculation of integral 0 τ 0 α τ τ τ d τ d τ for α > 1.
Table 14. Calculation of integral 0 τ 0 α τ τ τ d τ d τ for α > 1.
n(τ)m(τ)hτ ατIanalytInum|IanalytInum|E(τ)
1041.2 × 1040.000111.20.360.3599280011017.199889950002 × 10−50.00019999694305563
2 × 1042.4 × 1040.000122.45.765.7594240044010.0005759955990019.99992359377497 × 10−5
3 × 1043.6 × 1040.000133.629.1629.1580560099010.0019439900984866.66663271085926 × 10−5
4 × 1044.8 × 1040.000144.892.1692.1553920176020.0046079823979754.99998090058159 × 10−5
5 × 1046 × 1040.000156225224.99100002750.008999972497543.99998777668455 × 10−5
6 × 1047.2 × 1040.000167.2466.56466.54444803960.0155519603967563.33332484498378 × 10−5
7 × 1048.4 × 1040.000178.4864.36864.33530405390.0246959460966582.85713662092863 × 10−5
8 × 1049.6 × 1040.000189.61474.561474.52313607040.0368639295966762.49999522546903 × 10−5
9 × 1041.08 × 1050.0001910.82361.962361.90751208910.0524879108942092.22221844968627 × 10−5
1051.2 × 1050.0001101236003599.928000110.0719998899971971.99999694436659 × 10−5
1.1 × 1051.32 × 1050.00011113.25270.765270.66416813310.0958318668973841.81817929287966 × 10−5
1.2 × 1051.44 × 1050.00011214.47464.967464.83558415830.1244158416067421.6666645448434 × 10−5
1.3 × 1051.56 × 1050.00011315.61.0282 × 1041.0281802 × 1040.1581838140975061.5384597304162 × 10−5
1.4 × 1051.68 × 1050.00011416.81.38298 × 1041.3829562 × 1040.1975677843917171.42856986955462 × 10−5
1.5 × 1051.8 × 1050.000115181.8225 × 1041.8224757 × 1040.2429997524831581.33333197521623 × 10−5
Table 15. Calculation of integral 0 τ 0 α τ τ τ d τ d τ for α < 1.
Table 15. Calculation of integral 0 τ 0 α τ τ τ d τ d τ for α < 1.
n(τ)m(τ)h τ ατIanalytInum|IanalytInum|E(τ)
10480000.000110.80.160.1599679991013.200089950003 × 10−50.00020000562187521
2 × 1041.6 × 1040.000121.62.562.5597439964010.0002560035990.00010000140585941
3 × 1042.4 × 1040.000132.412.9612.95913599190.0008640080984986.66672915508346 × 10−5
4 × 1043.2 × 1040.000143.240.9640.95795198560.0020480143979875.0000351513376 × 10−5
5 × 1044 × 1040.00015410099.99599997750.0040000224974714.00002249747133 × 10−5
6 × 1044.8 × 1040.000164.8207.36207.35308796760.006912032396993.33334895688194 × 10−5
7 × 1045.6 × 1040.000175.6384.16384.14902395590.010976044096642.85715433586008 × 10−5
8 × 1046.4 × 1040.000186.4655.36655.34361594240.0163840575969092.50000878859085 × 10−5
9 × 1047.2 × 1040.000197.21049.761049.73667192710.0233280728960482.22222916629024 × 10−5
1058 × 1040.000110816001599.967999910.0320000899969922.00000562481205 × 10−5
1.1 × 1058.8 × 1040.0001118.82342.562342.51740789110.0425921088915021.81818646657938 × 10−5
1.2 × 1059.6 × 1040.0001129.63317.763317.70470387040.0552961295890911.66667057258786 × 10−5
1.3 × 1051.04 × 1050.00011310.44569.764569.68969584790.0703041520869041.53846486657734 × 10−5
1.4 × 1051.12 × 1050.00011411.26146.566146.47219182360.0878081763837841.42857429820557 × 10−5
1.5 × 1051.2 × 1050.0001151281008099.89199979750.1080002024885051.33333583319142 × 10−5
Table 16. Calculation of integral 0 τ 0 τ 2 τ τ d τ d τ .
Table 16. Calculation of integral 0 τ 0 τ 2 τ τ d τ d τ .
n(τ)m(τ)h τ τ2IanalytInum|IanalytInum|E(τ)
1041040.0001110.250.24995000000054.99999995 × 10−50.00019999999800015
1.5 × 1042.25 × 1040.00011.52.252.847656252.847276570600610.000379679399390.00013333048867551
2 × 1044 × 1040.0001241615.9984000300010.001599969998979.999812493585 × 10−5
2.5 × 1046.25 × 1040.00012.56.2561.0351562561.03027351953250.00488273046757.999865597957 × 10−5
3 × 1049 × 1040.000139182.25182.2378501800010.012149819998546.66656790043 × 10−5
3.5 × 1041.225 × 1050.00013.512.25459.56640625459.5401456570330.02626059296665.71421074506 × 10−5
4 × 1041.6 × 1050.000141610241023.94880060.051199399999534.99994140621 × 10−5
4.5 × 1042.025 × 1050.00014.520.252075.941406252075.849143162030.092263087968894.44439750039 × 10−5
5 × 1042.5 × 1050.000152525002499.875001522510.124998477494814.99993909979 × 10−5
5.5 × 1043.025 × 1050.00015.530.256920.160156256919.908516274530.251639975470923.63633167137 × 10−5
6 × 1043.6 × 1050.00016361.1664 × 10411663.611203150.388796850010473.33330632725 × 10−5
6.5 × 1044.225 × 1050.00016.542.251.885472266 × 1041.8854142515 × 1040.580140955485113.07689996859 × 10−5
7 × 1044.9 × 1050.00017492.941225 × 1042.9411409656 × 1040.84034412008132.85712286575 × 10−5
7.5 × 1045.625 × 1050.00017.556.254.44946289 × 1044.449344239 × 1041.186515668083132.6666492052 × 10−5
8 × 1046.4 × 1050.00018646.5536 × 1046.553436161 × 1041.638389920205852.4999846195 × 10−5
Table 17. Calculation of integral 0 τ 0 1 / τ τ τ d τ d τ .
Table 17. Calculation of integral 0 τ 0 1 / τ τ τ d τ d τ .
n(τ)m(τ)h τ 1/τIanalytInum|IanalytInum|E(τ)
1041040.0001110.250.24995000000054.99999995000368 × 10−50.000199999998000147
1.5 × 1046.667 × 1040.00011.50.6666670.250.2499666621524033.33378475972569 × 10−50.000133351390389028
2 × 1045 × 1040.000120.50.250.2499749906262.50093740000442 × 10−50.000100037496000177
2.5 × 1044 × 1040.00012.50.40.250.249979984776252.00152237500155 × 10−58.00608950000621 × 10−5
3 × 1043.333 × 1040.000130.3333330.250.2499833111081111.6688891889241 × 10−56.6755567556964 × 10−5
3.5 × 1042.851 × 1040.00013.50.2857140.250.2499856838634831.43161365165711 × 10−55.72645460662842 × 10−5
4 × 1042.5 × 1040.000140.250.250.249987460158251.25398417499468 × 10−55.01593669997873 × 10−5
4.5 × 1042.222 × 1040.00014.50.2222220.250.249988838379471.11616205303462 × 10−54.4646482121385 × 10−5
5 × 1042 × 1040.000150.20.250.24998993760251.00623974999731 × 10−54.02495899998926 × 10−5
5.5 × 1041.818 × 1040.00015.50.1818180.250.2499908335361779.1664638230205 × 10−63.6665855292082 × 10−5
6 × 1041.667 × 1040.000160.1666670.250.249991576667078.42333292975208 × 10−63.36933317190083 × 10−5
6.5 × 1041.538 × 1040.00016.50.1538460.250.2499922020663287.79793367231825 × 10−63.1191734689273 × 10−5
7 × 1041.429 × 1040.000170.1428570.250.2499927345993217.26540067850518 × 10−62.90616027140207 × 10−5
7.5 × 1041.333 × 1040.00017.50.1333330.250.2499931926861916.80731380930144 × 10−62.72292552372058 × 10−5
8 × 1041.25 × 1040.000180.1250.250.2499935900430626.40995693757569 × 10−62.56398277503028 × 10−5
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Chernukha, O.; Bilushchak, Y.; Shakhovska, N.; Kulhánek, R. A Numerical Method for Computing Double Integrals with Variable Upper Limits. Mathematics 2022, 10, 108. https://doi.org/10.3390/math10010108

AMA Style

Chernukha O, Bilushchak Y, Shakhovska N, Kulhánek R. A Numerical Method for Computing Double Integrals with Variable Upper Limits. Mathematics. 2022; 10(1):108. https://doi.org/10.3390/math10010108

Chicago/Turabian Style

Chernukha, Olha, Yurii Bilushchak, Natalya Shakhovska, and Rastislav Kulhánek. 2022. "A Numerical Method for Computing Double Integrals with Variable Upper Limits" Mathematics 10, no. 1: 108. https://doi.org/10.3390/math10010108

APA Style

Chernukha, O., Bilushchak, Y., Shakhovska, N., & Kulhánek, R. (2022). A Numerical Method for Computing Double Integrals with Variable Upper Limits. Mathematics, 10(1), 108. https://doi.org/10.3390/math10010108

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop