The Line-Integral Idea: Dot Product Along a Path