Solve the given problem:
Problem: A block of mass m is released from rest a height hi on a frictionless inclined plane that makes an angle theta with the horizontal. At the bottom of the incline, the mass encounters a horizontal surface of length L which has a coefficient of friction µk. After sliding across the horizontal surface, the mass goes up a second frictionless incline that also makes an angle theta the horizontal.
Part A- Find the maximum height of the mass, hf, on the second incline.
Please use great detail in explaining the solution. Thank you.