
According to Ampere’s law, the magnetic field \( \vec{B} \) due to a current-carrying conductor can be derived using the following equation:
\[ \oint_C \vec{B} \cdot d\vec{l} = \mu_0 I \]
Where:
By symmetry, the magnetic field at every point on the loop is tangent to the circle, and the magnitude of \( \vec{B} \) is constant at all points on the loop. Hence, the line integral becomes:
\[ \oint_C \vec{B} \cdot d\vec{l} = B \oint_C dl = B (2 \pi r) \]
Using Ampere’s law:
\[ B (2 \pi r) = \mu_0 I \]
Solving for \( B \):
\[ B = \frac{\mu_0 I}{2 \pi r} \]
Final Answer: Thus, the magnetic field at a distance \( r \) from an infinitely long straight wire carrying a current \( I \) is:
\[ B = \frac{\mu_0 I}{2 \pi r} \]



A ladder of fixed length \( h \) is to be placed along the wall such that it is free to move along the height of the wall.
Based upon the above information, answer the following questions:
(iii) (b) If the foot of the ladder, whose length is 5 m, is being pulled towards the wall such that the rate of decrease of distance \( y \) is \( 2 \, \text{m/s} \), then at what rate is the height on the wall \( x \) increasing when the foot of the ladder is 3 m away from the wall?