Magnetic Field Formula For Different Shapes