The turns of a solenoid, designed to provide a given magnetic flux density along its axis, are wound to fill the space between two concentric cylinders of fixed radii. How should the diameter d of the wire used be chosen so as to minimize the heat dissipated in the windings?