∵(4,7) and (−2,−1) are end points of circle.
⇒ Centre of circle =(24−2​,27−1​)=(1,3) ∴ Slope of AC=−2−a−1−0​=−2+a1​ and slope of AD=4−a7−0​=4−a7​ since, △CAD is right angle as CD is diameter. ⇒ (slope of AC (slope of AD)=−1⇒(2+a1​)(4−a7​)=−1⇒−a2+2a+87​=−1⇒a2−2a−15=0⇒a=−3,5 Similarly, b=−3,5∴ Point A=(−3,0) and piont B=(5,0)∴AB=(−3−5)2+(0−0)2​=(−8)2​=8