In a region a non-uniform magnetic field exists such that where a is a constant. At some time t, a wire of length L is carrying a current I is located along the x-axis from origin to x = L. Find the magnetic force on the wire at this instant in time.
Credit: University Physics Volume 2 by OpenStax, openstax.org, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Exercises adapted: converted to Kosoma's format, maths re-typeset, some exercises split into parts. Source commit db44eb99e9aa1d918fd8cf182f82ccdece9c7b11.