q3-4
Calculate the following inner product:
(a) $\langle a|b \rangle$ and $\langle b|a \rangle$, where $a = [1, 3, 2i, -2]^T$, $b = [-i, -1, i, 1]^T$.
(b) $\langle f|g \rangle$ where $f = e^{ikx - x}\sin 2x$, $g = e^{ikx - x}$, $0 \le x \le \infty$, and $k$ is real.