Computational Mechanics in Electrical Engineering