analytic vs numeric solutions