 One example is spreading resistance profiling, where the material is inhomogeneous (different resistivity in different places), and the exact paths of current flow are not obvious.In cases like this, the formulas

must be replaced with

where E and J are now vector fields.This equation, along with the continuity equation for J and the Poisson's equation for E, form a set of partial differential equations.