Solution

theta=ArcCos[(a.b)/(Norm[a]*Norm[b])]

N[theta]

%/Degree

theta==Pi/2