how to determine the evenness or oddness of a function