Limit cycles bifurcating from a family of reversible quadratic centers via averaging theory