High order discrete approximations to Mayer⇔s problems for linear systems