Oh, yes, I missed a bracket in sin(kx)=[exp(ikx)-exp(-ikx)]/(2i). Thank you very much.
Let's see if now is entirely correct.
Taking into account the identity sin(kx) = \frac{exp(ikx)-exp(-ikx)}{2i},
the non-normalizable wave function \Psi (x) = 1 + sin²(x) can be expressed as a linear combination of self-states of the linear momentum,
\Psi (x) = \frac{3}{2} exp{i(0)x} - \frac{1}{4} exp{i(2k)x} - \frac{1}{4} exp{i(-2k)x},
So, we have:
\left\|\Psi\right\|² = \frac{19}{8}\Rightarrow\left\|\Psi\right\| = \frac{\sqrt{38}}{4}
and the normalized wave function, using the same notation, is
\Psi(x) = \frac{6}{\sqrt{38}} exp{i(0k)x} - \frac{1}{\sqrt{38}} exp{i(2k)x} - \frac{1}{\sqrt{38}} exp{i(-2k)x}
Thus, by measuring the observable linear momentum, the only possible values are those relating to these three self-states of the linear momentum, because in the process of measuring the wave function is projected onto one of these (collapse or reduction of the state), and the probabilities for each value of the linear momentum is given by the square of the amplitude of the corresponding self-functions.
Hence,
Pr(p_{x} = 0) = \frac{36}{38},
Pr(p_{x} = 2k) = \frac{1}{38},
Pr(p_{x} = -2k) = \frac{1}{38},
and therefore, denoting the kinetic energy by T, we finally have:
Pr(T = 0) = \frac{18}{19},
Pr(T = 2k²/m) = \frac{1}{19},
as the kinetic energy is related to linear momentum through the expression
T = \frac{p^{2}_{x}}{2m}.
Thanks in advance.