Step 1: Find the restoring force due to extension of wire.
When the mass is displaced vertically, the wire is stretched. The restoring force due to elasticity is
\[
F = \frac{YA}{L}\,x
\]
where \( x \) is the extension.
Step 2: Identify the effective spring constant.
Comparing with Hooke’s law \( F = kx \), we get
\[
k = \frac{YA}{L}
\]
Step 3: Write frequency formula for SHM.
For a mass–spring system,
\[
f = \frac{1}{2\pi}\sqrt{\frac{k}{m}}
\]
Step 4: Substitute the value of \( k \).
\[
f = \frac{1}{2\pi}\sqrt{\frac{YA}{mL}}
\]
Step 5: Conclusion.
The frequency of oscillation is
\[
f = \frac{1}{2\pi}\left(\frac{YA}{mL}\right)^{1/2}.
\]