In DSP, cosine similarity between (0.5, 0.8, 0.3) and (0.3, 0.6, 0.4)