Mathematics lecture notes on infinitesimal calculus