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:
[tex]W = \Delta E_{potential} + \Delta E_{kinetic}[/tex]
If the distance moved is x, then the vertical displacement is x*sin(θ) Then,
[tex]\Delta E_{potential} = mgx \sin(\theta)[/tex]
[tex]\Delta E_{kinetic} = \frac{m}{2}v^2 = W - \Delta E_{potential} = FA\cos(\theta) - mgx\sin(\theta)[/tex]
We can solve for the speed v at the top of the ramp:
[tex]v = sqrt (\frac{2}{m} ( FA\cos(\theta) - mgx\sin(\theta)))[/tex]