Mathematical methods in chemical engineering