CAD circuit component formulas from static EM fields with a modified approach in mathematics