% example 1 for section 6.1: orthogonality
%
u = [1 -2 -4]'
v = [2 3 -1]'
u' * v
norm(u-v)^2
norm(u)^2 + norm(v)^2
