Correct answer: \(\cos^{-1}\!\left(\frac{12}{13}\right)\)
From \(R=P+Q\), we have \(|R|^2=|P|^2+|Q|^2+2|P||Q|\cos\theta\), where \(\theta\) is the angle between \(P\) and \(Q\). Using 13, 5, and 12 gives \(169=25+144+120\cos\theta\), so \(\cos\theta=0\), meaning \(P\perp Q\). Then the angle between \(Q\) and \(R\) satisfies \(\cos\phi=\frac{Q\cdot R}{|Q||R|}=\frac{Q\cdot(P+Q)}{12\cdot 13}=\frac{144}{156}=\frac{12}{13}\).