Let A={1,2,3,4} and B={w,x,y,z}. A function f:A→B is defined by f(1)=w, f(2)=x, f(3)=y and f(4)=p, where p∈B.
a. (i) Write the range of f in terms of p.
b. (ii) Determine all possible values of p for which f is bijective.
c. (iii) For each value of p found in part (ii), write down the inverse mapping f−1.