Current follows the path of least resistance or shortest path. I just want to prove this or rather reproduce it using calculus of variations. I just want to show it in a fancy way. I want help to form the FUNCTIONAL for it.
Where v is drift velocity
Any suggestion (may be using different equations and parameters)?