solve u = d / (1 + k * d^2) for d