\(\cos BAC=\dfrac{AB^2+AC^2-BC^2}{2\cdot AB\cdot AC}\)
\(\Leftrightarrow52-BC^2=2\cdot4\cdot6\cdot\dfrac{-1}{2}\)
\(\Leftrightarrow BC^2=52+24=76\)
\(\Leftrightarrow BC=2\sqrt{19}\left(cm\right)\)
\(AM^2=\dfrac{4^2+6^2}{2}-\dfrac{76}{4}\)
\(\Leftrightarrow AM^2=7\)
hay \(AM=\sqrt{7}\left(cm\right)\)