Please answer the following questions.
(a) (5%) For a quaternary communication system, the possible transmitted signals are
\[s_k(t)=A\cos\!\left(\frac{20\pi}{T}t-\frac{(k-1)}2\pi\right),\quad0\le t\le T,\ k=1,\cdots,4.\]
Assume \(T=40\,ms\), \(A=100\,mV\), \(P(s_k(t))=\frac14,\ \forall k\), and the noise PSD \(S_n(f)=20\ \mu\)W/Hz. Please calculate the error probability \(P_e\).
\[\left(\text{Hint: }P_e=2Q\!\left(\sqrt{\frac{E_s}{N_0}}\right)-Q^2\!\left(\sqrt{\frac{E_s}{N_0}}\right)\right)\]
(b) (5%) If \(T\) changes to \(1\,ms\), in order to maintain the same \(P_e\) obtained in (a), please calculate the required amplitude value \(A\).
(c) (5%) Please show the orthonormal basis functions for the signal constellation \(s_k(t)\).