ANSWER
Yes, f is a function.
EXPLANATION
The domain of the relation is D = {xlx is a state in the United States}
The rule is that f(x) ="the state capital"
The relation will be a function if and only if no two elements in the first set have the same image in the second set.
Since no two states will have the same capital, the relation is a function.