User:Jal

Computer science graduate student from Cambridge, England. Gaming journalist.

>> Using this as a testbed for some math formatting.

In this case, the cosine between items 1 and 2 is:

$$\frac{(1,0,0)\cdot (0,1,1) }{ \Vert (1,0,0)\Vert \Vert (0,1,1)\Vert }= 0$$,

The cosine between items 1 and 3 is:

$$\frac{(1,0,0)\cdot (1,1,0) }{ \Vert (1,0,0)\Vert \Vert (1,1,0)\Vert }= \frac{1}{\sqrt{2}}$$,

Whereas the cosine between items 2 and 3 is:

$$\frac{(0,1,1)\cdot (1,1,0)}{ \Vert (0,1,1)\Vert \Vert (1,1,0)\Vert }= \frac{1}{2}$$.