General Form of Ampere's Law Derivation