The parallel version of the adaptive quadrature algorithm with  bith naive scheduling and bag of tasks