if and if (If you write your function without breaking it up, use an endpoint of infinity and enter none for the remaining answer blanks.)
You can earn partial credit on this problem.