Separation of variables for Crank-Nicolson scheme.

uppose the KN scheme
approximates the original equation with order 2. Note
that
Hence, the
scheme
also approximates with order 2. We make the change of
function
then
and the stability follows from the Kelly theorem provided that