Step 1: Using the equation of motion for S.H.M.
The equation of motion for simple harmonic motion is given by:
\[
v = \omega \sqrt{A^2 - x^2}
\]
where \( v \) is the velocity, \( \omega \) is the angular velocity, \( A \) is the amplitude, and \( x \) is the displacement. We are given \( A = 0.5 \, \text{m} \), \( v = 40 \, \text{cm/s} = 0.4 \, \text{m/s} \), and the spring constant \( k = 10 \, \text{N/m} \). The angular velocity \( \omega \) is related to the spring constant and mass by:
\[
\omega = \sqrt{\frac{k}{m}} = \sqrt{\frac{10}{10}} = 1 \, \text{rad/s}
\]
Step 2: Solving for displacement.
Now we substitute the values into the equation:
\[
0.4 = 1 \sqrt{(0.5)^2 - x^2}
\]
Squaring both sides:
\[
0.16 = 0.25 - x^2
\]
Solving for \( x^2 \):
\[
x^2 = 0.25 - 0.16 = 0.09
\]
Thus:
\[
x = \sqrt{0.09} = 0.3 \, \text{m}
\]
Step 3: Conclusion.
Thus, the displacement at the instant is 0.3 m, which is option (A).