The block has an initial velocity right before it reaches the plane. The question I was trying to solve asked what height the block would reach before it would start sliding back.
The force $f=0$, I just couldn't find a better picture. There's also a friction force pointing in the same direction as $mg\sin(\theta)$ which is also not included in the picture. You've been given the initial velocity, the friction coefficient, the angle of the incline and the mass of the block.
I know that I'm supposed to use the law of conservation of energy. Where the kinetic energy of the block before it reaches the ramp is equal to the potential energy gained at the turning point plus the energy lost due to friction.
$$E_k = E_p + W_f$$ Where $W_f$ is the work done by the friction to slow down the block to a halt. From this you can find $h$ and answer the question.
Here's where I am confused. Shouldn't the gravitational component force $mg\sin(\theta)$ be considered when calculating the work done on the block along the ramp? It has the same direction as the friction force. So shouldn't the equation actually be $$E_k = E_p + s(F_f + mg\sin(\theta))$$
Where $s$ is the hypotenuse of the triangle defined from the corner at $\theta$ to the turning point.