The history of Mathematics and Its Influence on Pedagogical Problems