Work As A Dot Product Of Vectors:
The previous formula is not quite absolute since, as you must know by now that, both force and displacement are vector quantities. How can we multiply the two vectors? Fortunately, in this situation it is easy as the force and displacement vectors usually point in the same direction whenever work is complete. It turns out that the dot product gives the answer we require.
Work is a scalar, hence, and is equal to
w = F . q
Here F is the force vector, symbolized as newtons in a certain direction, and q is the displacement vector, symbolized as meters in a certain direction. The directions of F and q are approximately always similar. Note the dot symbol here ( .), that is a heavy dot therefore the dot product of vectors can be differentiated from the ordinary scalar product of units, variables, or numbers, as in kg . m2/s2.
As long as the displacement and force vectors point in similar direction, we can just multiply their magnitudes and acquire an accurate result for work done. Just remind that work is scalar, not a vector.