Title: Theory of machines through worked examples