1. The problem statement, all variables and given/known data A straight infinitly long wire with a current of I upwards is stationary. A rectangular loop with length a and height b is moved to the right with constant speed of v across the wire in the plane of the paper. At t=0 the right edge of the loop is exactly at the same location of the wire. 2. Relevant equations What is the flux through the loop as a function of the time? What is the induced emf as a function of the time? 3. The attempt at a solution Well I have 2 main problems here: 1. At any moment up untill the time that all the loop has passed to the right of the wire I'm facing the fact that some part of the loop (the part that is to the right of the wire) is under the influence of a magnetic field in the direction which is into the paper, and another part (the part that's to the left of the wire) is under the influence of a magnetic field in the direction which is out of the paper - how can I deal with this problem in terms of my integration? 2. If I want to switch the integral from dA to dr (where r is the distance from the wire) - I have again one part of the loop that is coming towards the wire while another part of the loop is moving away from the wire (At least until the whole loop passes through the wire) - How can I deal with this fact when I try to write the integration limits? This is a bonus question and isn't mandatory but it pisses me off!