if the length of the chord of the circle x^2+y^2=r^2