Step 1: Calculate $\hat{O}|\psi\rangle$
$$\hat{O}|\psi\rangle = \hat{O}\left(\frac{1}{\sqrt{2}}\psi_1 + \frac{i}{\sqrt{2}}\psi_2\right)$$
$$= \frac{1}{\sqrt{2}}\hat{O}\psi_1 + \frac{i}{\sqrt{2}}\hat{O}\psi_2$$
$$= \frac{1}{\sqrt{2}}\psi_2 + \frac{i}{\sqrt{2}} \cdot \frac{1}{\sqrt{2}}(\psi_1 + \psi_2)$$
$$= \frac{1}{\sqrt{2}}\psi_2 + \frac{i}{2}(\psi_1 + \psi_2)$$
$$= \frac{i}{2}\psi_1 + \left(\frac{1}{\sqrt{2}} + \frac{i}{2}\right)\psi_2$$
Step 2: Calculate $\langle\psi|$
$$\langle\psi| = \frac{1}{\sqrt{2}}\langle\psi_1| + \frac{-i}{\sqrt{2}}\langle\psi_2|$$
(Note: complex conjugate of $i$ is $-i$)
Step 3: Calculate $\langle\psi|\hat{O}|\psi\rangle$
$$\langle\psi|\hat{O}|\psi\rangle = \left(\frac{1}{\sqrt{2}}\langle\psi_1| + \frac{-i}{\sqrt{2}}\langle\psi_2|\right)\left[\frac{i}{2}\psi_1 + \left(\frac{1}{\sqrt{2}} + \frac{i}{2}\right)\psi_2\right]$$
Using orthonormality $\langle\psi_i|\psi_j\rangle = \delta_{ij}$:
$$= \frac{1}{\sqrt{2}} \cdot \frac{i}{2}\langle\psi_1|\psi_1\rangle + \frac{1}{\sqrt{2}}\left(\frac{1}{\sqrt{2}} + \frac{i}{2}\right)\langle\psi_1|\psi_2\rangle$$
$$+ \frac{-i}{\sqrt{2}} \cdot \frac{i}{2}\langle\psi_2|\psi_1\rangle + \frac{-i}{\sqrt{2}}\left(\frac{1}{\sqrt{2}} + \frac{i}{2}\right)\langle\psi_2|\psi_2\rangle$$
$$= \frac{i}{2\sqrt{2}} + 0 + 0 + \frac{-i}{\sqrt{2}}\left(\frac{1}{\sqrt{2}} + \frac{i}{2}\right)$$
$$= \frac{i}{2\sqrt{2}} + \frac{-i}{2} + \frac{-i^2}{2\sqrt{2}}$$
$$= \frac{i}{2\sqrt{2}} - \frac{i}{2} + \frac{1}{2\sqrt{2}}$$
$$= \frac{1}{2\sqrt{2}} + \frac{i}{2\sqrt{2}} - \frac{i}{2}$$
$$= \frac{1}{2\sqrt{2}} + i\left(\frac{1}{2\sqrt{2}} - \frac{1}{2}\right)$$
$$= \frac{1}{2\sqrt{2}}\left(1 + i\left(1 - \sqrt{2}\right)\right)$$
$$= \frac{1}{2\sqrt{2}}\left(1 - i(\sqrt{2} - 1)\right)$$
Answer: (D) $\frac{1}{2\sqrt{2}}(1 - i(\sqrt{2} - 1))$

At a particular temperature T, Planck's energy density of black body radiation in terms of frequency is \(\rho_T(\nu) = 8 \times 10^{-18} \text{ J/m}^3 \text{ Hz}^{-1}\) at \(\nu = 3 \times 10^{14}\) Hz. Then Planck's energy density \(\rho_T(\lambda)\) at the corresponding wavelength (\(\lambda\)) has the value \rule{1cm}{0.15mm} \(\times 10^2 \text{ J/m}^4\). (in integer)
[Speed of light \(c = 3 \times 10^8\) m/s]
(Note: The unit for \(\rho_T(\nu)\) in the original problem was given as J/m³, which is dimensionally incorrect for a spectral density. The correct unit J/(m³·Hz) or J·s/m³ is used here for the solution.)
