Machines, whether mechanical or electrical do have to deal with thermodynamics. Engines are machines which derive their power from heat exchanges in a closed container and are very important part of thermodynamics.
ALERT!!!
To my students,
If you have any doubts regarding the subject please comment your doubts below the posts. Your active participation will make me feel that this website is an worthwhile venture.