Work out line integral instantly with clear inputs, formula shown and shareable results.
For a constant field the line integral reduces to the dot product F·d, independent of the path taken. That path independence is the hallmark of a conservative field.
Line integral
∫C F · dr = F · d for a constant field over displacement d
The work is 18 + 32 = 50, and since the field and path are parallel the cosine is exactly 1.
Whenever the field has non-zero curl. Then different routes between the same endpoints give different integrals.