Statement

Let A={0,1,2}A = \{0, 1, 2\}. Find the cardinality of: (i) the cartesian product A2=A×AA^2 = A \times A; (ii) the power set P(A)\mathcal{P}(A); (iii) the set AAA^A of functions from AA to AA.