The pair (1, 2, 0) and (3, 4, 0) is one of the neatest in the subject. Their dot product is 1·3 + 2·4 = 11, on the second link; their magnitudes are √5 = 2.2360679774998 and 5; and the product of those magnitudes is the fourth link, 11.180339887499. Dividing gives the third link, 0.98386991009991, and the panel on the first prints all of it at once — the magnitude, the unit vector, the dot product, the cross product and the angle, 10.3048° in degrees.
That the angle is small is the point of the example. The two vectors look different — one is (1, 2), the other (3, 4) — and they are nearly parallel: the ratio 3/1 against 4/2 is unequal, so not parallel, but close. Gibbs made the dot product a primitive operation rather than a coordinate computation, which is why the same identity is often read the other way round, as the definition of the angle. It is also the calculation inside the Cauchy–Schwarz inequality |a·b| ≤ |a||b|, with equality only for parallel vectors: here 11 against 11.180339887499, an error under two per cent, which is Cauchy–Schwarz looking almost sharp.
Answer
11
How to read it
a·b for the two vectors; the panel link also prints the magnitudes and the angle. The third link is cos θ, the fourth |a||b|.
Source
The scalar product in this form is from Josiah Willard Gibbs' vector analysis as published by Edwin Wilson in 'Vector Analysis' (1901); a·b = |a||b|cos θ is the standard definition of the angle between two vectors
Work it in the calculator
These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.