A mass; M, slides down a frictionless incline and then gently transitions into a rough horizontal surface as shown below in the diagram. The box eventually stops at a distance of "D" down along the horizontal. The coefficient of friction on the rough section is ?k. The mass begins from rest at the very top of the incline.
i) Determine the speed at the end incline (in terms of g,h and constants)
ii) Determine how far, D, the mass will slide on the horizontal surface (answer will be in terms of the given symbols again....)