Affective influences in the knowledge of mathematics