Differentiate between efficiency and effectiveness?

Using a hammer to open a walnut is effective - the hammer easily smashes the hard shell of the nut - but it is not efficient - the meat and the bits of shell become uselessly mixed together.