Is Vector in Cosine Similarity the same as vector in Physics?
As you ask specifically for the Cosine Similarity technique, it has magnitude and direction, and similar to a vector which is used in Physics, as Cosine Similarity deals with vectors in an inner product space. 



So, the magnitude of vectors is exactly the same as the formula in Physics (summating over the squares of the vector elements.)