Consider the vectors a=⟨k,2,−1⟩ and b=⟨3,−k,4⟩, where k is a real number.
(i) Determine the value of k for which a is perpendicular to b.
(ii) For the value of k obtained in part (i), compute (a+2b)⋅(a−b).
(iii) Using your answer from part (ii), find ∣a+2b∣2.