A rectangular loop of wire ABCD is kept close to an infinitely long wire carrying a current I(t)=I0(1-t/T)for0tTand I(0)=0 for t>T (figure). Find the total charge passing through a given point in the loop, in time T. The resistance of the loop is R.