Step 1: Understanding the Concept
At STP, 1 mole of a gas occupies \(22.4\text{ dm}^3\). One mole of any substance contains \(6.022\times10^{23}\) particles.
Step 2: Moles of Gas
Moles of \(\text{NH}_3\) = \(\dfrac{2.24}{22.4}=0.1\text{ mol}\).
Step 3: Number of Molecules
Molecules = \(0.1\times6.022\times10^{23}=6.022\times10^{22}\).
Step 4: Number of Atoms
Each \(\text{NH}_3\) molecule has 4 atoms (1 N + 3 H).\nTotal atoms = \(4\times6.022\times10^{22}=2.4088\times10^{23}\).
Final Answer:
The sample contains \(2.4088\times10^{23}\) atoms.
\[ \boxed{\text{(B) }2.4088\times10^{23}} \]