A × A × A has 512 elements. Find the number of elements in A.
Let the number of elements in A = x
x × x × x = 512
x = (512)13
x = 8
If the set A has 3 elements and the set B = {3, 4, 5}, then find the number of elements in (A×B).