Elements of mathematics with numerical applications