1.4 Functions as Objects

Checkpoint 2

For each of the following functions, decide whether the function is even, odd, or neither. For each case, give an example of appropriate functions f and g, and check that your answer is right for your example.

  1. `ftext[(]xtext[)]+gtext[(]xtext[)]`, where f and g are both even

  2. `ftext[(]xtext[)] gtext[(]xtext[)]`, where f and g are both odd

  3. `ftext[(]xtext[)]+gtext[(]xtext[)]`, where f is even and g is odd

  4. `ftext[(]xtext[)] gtext[(]xtext[)]`, where f is even and g is odd