Chapter 6 electromechanics