A wire lying along a $y$ axis from $y=0$ to $y=0.250 \mathrm{m}$ carries a current of 2.00 $\mathrm{mA}$ in the negative direction of the axis. The wire
fully lies in a nonuniform magnetic field that is given by
$B=(0.300 \mathrm{T} / \mathrm{m}) y \hat{\mathrm{i}}+(0.400 \mathrm{T} / \mathrm{m})$ yj. In unit-vector notation, what is the magnetic force on the wire?