Mon Mar 9 17:32:56 2020 mcint_test R version 3.4.4 (2018-03-15) mcint estimates an integral using a Monte Carlo approach. f(x) = sqrt ( 1.0 - x^2 ) mcint ( f, 0 , 1 , m = 1000 ) * 4 = 3.162345 mcint ( f, 0 , 1 , m = 10000 ) * 4 = 3.145233 mcint ( f, 0 , 1 , m = 1e+05 ) * 4 = 3.14035 mcint ( f, 0 , 1 , m = 1e+06 ) * 4 = 3.141 mcint_test Normal end of execution. Mon Mar 9 17:32:56 2020