Degree thesis for Electrical Machines for Engineering's students