Solution (source code)

= Solution

For these two simple hypotheses the <Bayes factor> is the ratio of their <normal probability densities>:
$$
B_{10}(y)=\frac{\exp[-(y-2.49)^2/2]}{\exp[-y^2/2]}
=\exp\left(2.49y-\frac{2.49^2}{2}\right).
$$
Therefore $\boxed{B_{10}(y)=e^{2.49(y-1.245)}}$, and the <posterior odds> are $RB_{10}(y)$.