A block of a mass m kg moving with kinetic energy 3J on a smooth horizontal surface hits the free end of a spring, whose other end is attached to a rigid wall as shown in the figure. If restoring force applied by the spring is given by f(x)=−2x−x3(N)b Then the maximum compression in the spring approximately