Two straight lines are given:
$$ \left( \begin{array}{c} 1\\ 1\\ 4 \end{array} \right) + t \left( \begin{array}{c} 4\\ 1\\ 1 \end{array} \right) $$
and
$$ \left( \begin{array}{c} 5\\ 5\\ 2 \end{array} \right) + s \left( \begin{array}{c} 0\\ 1\\ -1 \end{array} \right) $$
I want to calculate the angle between them (which should be simple, arccos of the scalar product over the product of their norms). Since the angle should not change no matter which $s$ and $t$ we choose, I took arbitrary parameters $t = 2$ and $s = 1$ and calculated first just the scalar product of $(9,3,6)$ and $(5,6,1)$ - that is clearly non-zero, though the solutions state that the angle between the lines should be 90 degrees - what am I doing wrong?
Thanks