The application of differential equations to chemical engineering problems