On which of the following factors does the magnetic field due to a current carrying straight wire depends?
Distance from the wire only
Magnitude of current only.
Distance from the wire and magnitude of current.
The direction of the current only.