Block stops on incline plane when its initial K.E is used in doing work against friction and partly it is converted into potential energy.
As angle of incline is given 45∘ so, distance covered on incline (s) is related to height of block (h) as, ⇒sin45∘=sh or s=2h Let block covers a distance s over block and reaches up-to height h. Then, Initial K.E of block=Work done against friction+Potential energy gained by block⇒21mu2=μmgcosθ⋅s+mgh⇒21mu2=μmgcosθ⋅2⋅h+mgh⇒h=2μmgcosθ+mg21mu2 Here, initial K.E=21mu2=100 Jm=5 kg,θ=45∘,g=10 m/s2 So, h=2×0.5×5×10×21+5×10100=50×1.5100=34 Hence, distance covered over block, s=2h⇒s=32×4 m=342 m