The maximal accuracy of stable difference schemes for the wave equation