Title: Optimal control scheme for a batch reactor