Hi!
The work W done by force FA is W = FA*cos(θ)
The work-energy theorem say that the work W done by nonconservative forces is equal to the variation of mechanical energy:

If the distance moved is x, then the vertical displacement is x*sin(θ) Then,


We can solve for the speed v at the top of the ramp:
