Question: how to calculate how much energy is lost due to friction?
Answer: Power = force times velocity. Friction force multiplied by the constant velocity tells you how much energy is 'lost' per second. If you know the length of the ramp, you can combine this with the constant velocity to find out how many seconds were spent in losing the amount of energy.