Solution:
Solution
The block will slip if the maximum force acting on the block during SHM is more than the limiting friction.$$F_{max} \geq F_{r,min}$$
$$m \omega^2 a \geq \mu mg$$
$$\omega \geq \sqrt { \cfrac { \mu g } { a } }$$
$$f \geq \cfrac{1}{2 \pi} \sqrt{ \cfrac{\mu g}{a} }$$
Note that energy in SHM is conserved. However, in the given problem, friction is present which means energy will be lost in the form of heat. For the body to perform sustained oscillations, external force will be required. Hence, this is an example of forced oscillations.