On the Accuracy of Whitham's Method