An isoperimetric optimal control problem for a non-isothermal chemical reactor with periodic inputs. (6th April 2017)