\(\overrightarrow{AB}\cdot\overrightarrow{AC}=AB\cdot AC\cdot cos\left(\overrightarrow{AB},\overrightarrow{AC}\right)=ab\cdot cos\widehat{BAC}\)
\(\overrightarrow{GA}\cdot\overrightarrow{GB}=GA\cdot GB\cdot cos\left(\overrightarrow{GA},\overrightarrow{GB}\right)=GA\cdot GB\cdot cos\widehat{AGB}\)