Added analytic solution.