A thesis on some quadrature rules for approximate evaluation of definite integrals of real and complex valued functions