Consider the equation
y= 1 if x is rational
= 0 if x is irrational
1) Is this a function?
2) What is its domain?
3) What is its range?
4) What is its y-intercept, if any?
5) What are its x-intercepts, if any?
6) Is it even, odd, or neither?
7) How would you describe its graph?