In this section the formulas for the estimators of Section 2 were implemented. Thus, for adaptive spatial sampling
we have implemented the estimator of the mean (u1), Equation (19), the estimator of the variance of the estimatorof the mean (varu1), Equation (21) the estimator of the total (Totu1) given by multiplying the number of grids by
the estimator u1, i.e., Totu1 = NN× u1, and the estimator of the variance of Totu1, named TotVaru1.