Here is a general formulation using the law of the unconscious statistician that can be applied to other functions too. For specific calculations with $\sin$ and $\cos$ here though, I would say Clement C.'s answer is better!
The mean of $\color{blue}{h(X)}$ (for some function $h$) would be given by the integral
$$\mathbb{E}[h(X)]=\int_{-\infty}^{\infty}\color{blue}{h(x)}f_X(x)\, dx,$$
where $f_X$ is the probability density function of $X$.
The second moment would be found similarly as $$\mathbb{E}\left[(h(X))^2\right] = \int_{-\infty}^{\infty}\color{blue}{(h(x)^2)}f_X(x)\, dx.$$
Once you know the first two moments here, you can calculate the variance using $\mathrm{Var}(Z) = \mathbb{E}[Z^2] - (\mathbb{E}[Z])^2$.
Replace $h(x)$ with $\cos x$ for the corresponding expectations for $\cos X$, and similarly with $\sin x$.
If the distribution of $X$ is not known, we cannot generally compute the exact mean and variance of $h(X)$. However, you may want to see this for some approximations that could be used. Some useful ones for you may be that if $X$ has mean $\mu_X$ and variance $\sigma^2_X$, then
$$\mathbb{E}[h(X)]\approx h(\mu_X) + \dfrac{h''(\mu_X)}{2}\sigma_X^2$$
and
$$\mathrm{Var}(h(X))\approx (h'(\mu_X)^2)\sigma^2_X + \dfrac{1}{2}(h''(\mu_X))^2 \sigma^4_X.$$
Expectation[ (Sin[X] - Expectation[ Sin[X], X \[Distributed] NormalDistribution[\[Mu], \[Sigma]]])^2, X \[Distributed] NormalDistribution[\[Mu], \[Sigma]]]
– Clement C. Feb 22 '19 at 17:55FullSimplify[ExpToTrig[ ]]
around that to have a representation in terms of $\sin,\cos$ instead of exponentials) – Clement C. Feb 22 '19 at 18:01