solve p = A + B log(C/p) for p