The Taylor expansions about areAdding them cancels the odd powers of and givesThus the centred finite difference has truncation error , so .
The characteristic equation of a linear recurrence isIts repeated root givesSince , this can be written , exactly the discrete form of the continuous solution of .
The identityshows that is a particular solution. Combining it with the homogeneous solution from part (b) givesThe condition gives , and gives . HenceThe exact initial-value solution is . Since ,Thus the absolute endpoint error is , consistent with the second-order truncation error of the centred scheme.
Articles by others on the same topic
There are currently no matching articles.