Solves the zhang & li equation