The distance is
d = sqrt( [p - 2r]^2 + [q - 2r]^2 )
where
r = pq/t
and
t = p + q + sqrt( p^2 + q^2 )
For (p,q) = (15,8),
t = 40
r = 3
d ~= 9.22
Edited on October 10, 2012, 8:26 pm
blackjack
flooble's webmaster puzzle