disk01_quarter_rule, a MATLAB code which demonstrates how to compute a quadrature rule of a particular precision to estimate integrals over the interior of the unit quarter disk in 2D.

The unit quarter disk in 2D is the set of points (X,Y) such that 0 <= X, 0 <= Y, and X^2+Y^2 <= 1.

The program sets up the nonlinear equations that characterize the points and weights of the rule, and then calls MATLAB's fsolve() function to solve the nonlinear system.


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.


disk01_quarter_rule is available in a MATLAB version.

Related Data and Programs:

annulus_rule, a MATLAB code which computes a quadrature rule for estimating integrals of a function over the interior of a circular annulus in 2D.

disk01_quarter_monte_carlo, a MATLAB code which uses the Monte Carlo method to estimate integrals over the unit quarter disk in 2D.


Source Code:

Last revised on 09 January 2019.