Given A = {1, 2, 3, 4} B = {2, 5, 10, 17}, a E A and b E B
The mapping rule for f maps 1 to 2, 2 to 5, 3 to 10 and 4 to 17.
(A) Write the mapping rule in the format of the listing method. Display the mapping using the listing format.
(B) Write the mapping rule in the format of function notation. Show the mapping using a function notation.
(C) Identify, using the most appropriate language, the type of mapping from A to B.