effect of synthetic parameters on synthesis of magnesium