A straight wire of length L and carrying a current I stays suspended horizontally in mid air in a region where there is uniform magnetic field B. The linear mass density of the wire is lambda. Obtain the magnitude and direction of the magnetic field.