\(AB.AC=AH.BC=10\Rightarrow AC=\frac{10}{AB}\)
Mặt khác \(AB^2+AC^2=BC^2=25\)
\(\Rightarrow AB^2+\left(\frac{10}{AB}\right)^2=25\)
\(\Rightarrow AB^4-25AB^2+100=0\)
\(\Rightarrow\left[{}\begin{matrix}AB^2=5\\AB^2=20\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}AB=\sqrt{5}\\AC=2\sqrt{5}\end{matrix}\right.\) hoặc \(\left\{{}\begin{matrix}AB=2\sqrt{5}\\AC=\sqrt{5}\end{matrix}\right.\)