simplify dW/dq=0 for W=(((A-r^2)/(q+r))^2 - (q-r)^2) (q^2+q r+r^2)^2