How would you have to vary the current in the wire to achieve a square wave current pattern in the induction loop? A square wave is positive and constant for a time, then suddenly negative and constant for an equal time, then positive again, and so forth.