In the stationary situation, static friction will apply in between both of the blocks. This frictional force causes block to move upon the bigger block M. Thus, equating both of the forces due to acceleration and static friction as:
\(\begin{aligned}{c}F = {F_{\rm{f}}}\\m{a_{{\rm{max}}}} = {\mu _{\rm{s}}}mg\\{a_{{\rm{max}}}} = {\mu _{\rm{s}}}g\end{aligned}\)
Here,\({F_{\rm{f}}}\)is the frictional force, F is the force due to acceleration,\({a_{{\rm{max}}}}\)is the maximum acceleration and\(g\)is the acceleration due to gravity.
Now, for this second block to stay stationary on the bigger block without slipping, maximum acceleration of bigger block of mass\(M\)is also\({a_{{\rm{max}}}} = {\mu _{\rm{s}}}g\). However, due to connection with spring, system of block will perform simple harmonic motion, then the maximum acceleration is calculated as:
\(\begin{aligned}{c}{a_{{\rm{max}}}} = {\omega ^2}A\\ = \frac{k}{{m + M}}A\end{aligned}\)
Here,\(\omega \)is the angular frequency and A is the amplitude.
Equating this equation with the previous expression of maximum acceleration as:
\(\begin{aligned}{c}{\mu _{\rm{s}}}g &= \frac{k}{M}A\\A &= \frac{{{\mu _{\rm{s}}}g}}{k}\left( {m + M} \right)\\A &= \frac{{\left( {0.30} \right)\left( {9.8\;{\rm{m/}}{{\rm{s}}^2}} \right)}}{{\left( {130\;{\rm{N/m}}} \right)}}\left( {6.0\;{\rm{kg}} + 1.25\;{\rm{kg}}} \right)\\A &= 0.16\;{\rm{m}}\end{aligned}\)
Hence, the maximum amplitude of the oscillations is 0.16 m.