Evaluating the effect of emotions on academic achievement in mathematics