Teaching mathematics and its applications