Magnetic Field Equation In Algebra