Ta có: BC=HB+HC=18+32=50
-Xét \(\Delta ABC\)có: BC2=AB2+AC2 (Theo định lý Py-ta-go)
Mà \(\hept{\begin{cases}AB^2=AH^2+HB^2\\AC^2=AH^2+HC^2\end{cases}}\)
=> BC2=AH2+HB2+AH2+HC2
=> 502=2AH2+182+322
=> 2500=2AH2+324+1024
=> 2500=2AH2+1348
=> 2AH2=1152
=> AH2=576
=> AH=24
=> \(\hept{\begin{cases}AB^2=AH^2+HB^2=24^2+18^2=900\\AC^2=AH^2+HC^2=24^2+32^2=1600\end{cases}}\)
=> AB=30
AC=40
Vậy AB=30 cm
AC=40cm