<apply>
<eq/>
<apply>
<scalarproduct/>
<ci type="vector"> A </ci>
<ci type="vector">B </ci>
</apply>
<apply>
<times/>
<ci> a </ci>
<ci> b </ci>
<apply>
<cos/>
<ci> θ </ci>
</apply>
</apply>
</apply>