Relationship between effort and outcome in functions