For example , the function of a hammer is to strike something nearby .
Its purpose ( what to strike and why ) could be anything the hammer - wielder has in mind .
For example , the function of a hammer is to strike something nearby whereas its purpose ( what to strike and why ) could be anything the hammer - wielder has in mind .