Some quadrature rules for approximate evaluations of definite integrals of real and complex valued functions