The following problem is an interesting application of Ampere’s law apart from usual applications found in honors syllabus (eg infinite straight conductor, Solenoid and Torroid). This is to be found the excellent book by Griffith on Electrodynamics.
Find the magnetic field of an infinite uniform surface current K (vect) = K i-cap, flowing over the XY-plane.
Lets first visualize the problem. This will help us solve the problem. We chose a Cartesian coordinate system as shown. Our infinite surface current is a sheet that is concurrent with the XY-plane. We also show the Ampere loop which is a rectangle of length l parallel to the y-axis. This loop is half above the XY-plane and half below.