I don’t understand why the following question
The decomposition of nitrosyl bromide $(\ce{NOBr})$ proceeds by the following reaction:
$$\ce{2 NOBr(g) <=> 2 NO(g) + Br2(g)} \qquad K = 0.0142$$
Calculate the $[\ce{NOBr}],$ $[\ce{NO}],$ and $[\ce{Br2}]$ when $\pu{10.0 mol}$ of nitrosyl bromine is placed in a $\pu{5.00 L}$ closed vessel and allowed to decompose.
has the answers that it does:
$$ \begin{align} [\ce{NOBr}] &= \pu{1.585 M} \\ [\ce{NO}] &= \pu{0.415 M} \\ [\ce{Br2}] &= \pu{0.207 M} \end{align} $$
From what I understand
$$K = \frac{\prod a_\mathrm{products}}{\prod a_\mathrm{reactants}},$$
where $a$ is the activity of the products/reactants. The activity of a gas is approximately equal to the partial pressure of the gas divided by a reference pressure (usually 1 atm). This yields unitless quantities with the magnitude of the partial pressures of each gas. Thus
$$K = \frac{P_\ce{Br2}\cdot P_\ce{NO}^2}{P_\ce{NOBr}^2}$$
Converting from a partial pressure to a concentration can be done using the ideal gas equation
$$\frac{P}{RT} = \frac{n}{V} = M,$$
where $M$ is concentration. Thus,
$$K = \frac{[\ce{Br2}][\ce{NO}]^2\cdot RT}{[\ce{NOBr}]^2}$$
However, plugging the concentrations given into the solution of this problem doesn’t yield the given value of $K.$
Am I wrong in the way I am approaching this problem, or is the problem itself wrong? If the equilibrium constant was denoted $K_c$ instead of $K,$ the given solution would be correct, but I don’t think it’s correct to assume that $K_c$ is the same as $K.$