In the xy-plane, points A(−2,10) and B(8,0) are the endpoints of a diameter of a circle. Which of the following is the equation of this circle?
(x−3)2+(y−5)2=25
(x−3)2+(y−5)2=50
(x+2)2+(y−10)2=100
(x−8)2+(y−0)2=50