s*k^(-1/2)-d*k+sqrt(d)=s/k with respect to k