Mathematical modeling in chemistry