Xét \(\Delta AHC\left(\widehat{AHC}=90^o\right)\) có:
\(AC^2=AH^2+HC^2\) (định lí pitago)
\(\Rightarrow AH^2=AC^2-HC^2\)
\(\Rightarrow AH=\sqrt{5^2-4^2}=3\left(cm\right)\)
Xét \(\Delta ABC\left(\widehat{BAC}=90^o\right)\) có:
\(\dfrac{1}{AH^2}=\dfrac{1}{AB^2}+\dfrac{1}{AC^2}\) (hệ thức lượng trong tam giác vuông)
\(\Rightarrow\dfrac{1}{AB^2}=\dfrac{1}{AH^2}-\dfrac{1}{AC^2}\)
\(\Rightarrow\dfrac{1}{AB^2}=\dfrac{1}{3^2}-\dfrac{1}{5^2}\)
\(\Rightarrow AB=3,75\left(cm\right)\)
Xét \(\Delta ABC\left(\widehat{BAC}=90^o\right)\) có:
\(BC^2=AB^2+AC^2\) (định lí pitago)
\(\Rightarrow BC=\sqrt{3,75^2+5^2}=6,25\left(cm\right)\)
\(AH=\sqrt{AC^2-HC^2}=3\left(cm\right)\)
\(HB=\dfrac{AH^2}{HC}=\dfrac{3^2}{4}=2.25\left(cm\right)\)
BC=HB+HC=4+2,25=6,25(cm)
\(AB=\sqrt{6.25^2-5^2}=3.75\left(cm\right)\)