I'm trying to do homework for my physics class, and it says I should find 'the component of $\vec{a}$ along the direction of $\vec{b}$'. The vectors are:
$\vec{a} = 7.1\hat i + 8.97 \hat j $
$\vec{b} = 5.8\hat i + 2.5\hat j$
I know how to find the $x$ and $y$ components but I've never done this before. How do I do it?
Compute $\dfrac{\vec a \cdot \vec b}{|b|}$ as the component of $\vec a$ along $\vec b$.