Step 1: Calculate the energy of incident photons.
Photon energy is given by
\[
E = \frac{hc}{\lambda}
\]
where \(h = 6.62 \times 10^{-34} \, \text{Js}\), \(c = 3 \times 10^8 \, \text{m/s}\), \(\lambda = 400 \, \text{nm} = 400 \times 10^{-9} \, \text{m}\)
\[
E = \frac{6.62 \times 10^{-34} \cdot 3 \times 10^8}{400 \times 10^{-9}} \approx 4.965 \times 10^{-19} \, \text{J}
\]
Convert to eV:
\[
1 \, \text{eV} = 1.6 \times 10^{-19} \, \text{J} \implies E \approx 3.1 \, \text{eV}
\]
Step 2: Compare photon energy with work function of metals.
Metals eject electrons if \(E \geq W_0\).
Given \(W_0\) values: Li (2.42 eV), Mg (3.7 eV), Cu (4.8 eV), Ag (4.3 eV), K (2.25 eV), Na (2.3 eV)
Photon energy \(E = 3.1 \, \text{eV}\)
- Li: \(2.42 \lt 3.1 \Rightarrow\) electrons emitted
- Mg: \(3.7 \gt 3.1 \Rightarrow\) electrons not emitted
- Cu: \(4.8 \gt 3.1 \Rightarrow\) electrons not emitted
- Ag: \(4.3 \gt 3.1 \Rightarrow\) electrons not emitted
- K: \(2.25 \lt 3.1 \Rightarrow\) electrons emitted
- Na: \(2.3 \lt 3.1 \Rightarrow\) electrons emitted
Step 3: Count metals that do not emit electrons.
Metals: Mg, Cu, Ag \(\Rightarrow 3\) metals
Step 4: Final conclusion.
Therefore, the number of metals that do not eject electrons is
\[
\boxed{3}
\]