Finally made my 2D magnet post. In this example I do a simple demonstration of finding a magnetic field from a coax, and verify the result with an analytical solution. I then use the same method to find the field inside a dipole magnet of the type used at the LHC; a cos(phi) magnet. https://comphysblog.wordpress.com/2020/08/19/2d-magnetostatics-cos%cf%86-dipole-magnet/