Functions of Simple Machines