Text this: The mathematical description of electromagnetic processes in the transformers