更新1:
Well. Forgive me but please allow me to add some more things to the question. I am not particularly interested in the calculation bits. I would like to know the mechanism of its functioning - for example, what is the role of electromagnet in its structure? Thank you in advance.