A 2.32 kg block slide down a ramp from a height of 4.19 m. The block has a speed of 3.25 m/s when it reaches the bottom. There is friction. What is the work (in J) done by gravity? What is the work done by friction?

I found the work of friction already.

KE= .5m(v^2)
KE= .5(2.32)(3.25^2)
KE= 12.25J

PE=mgh
PE=2.32(9.8)(4.19)
PE=16.31J

PE=KE+Wfriction
16.31=12.25+W
W=4.06

My question is how to find the work done by gravity.
Is it equal to the PE of the block?

Yes, the work done by gravity is equal to the potential energy of the block when it reaches the bottom of the ramp.

In this case, the potential energy (PE) is calculated using the equation PE = mgh, where m is the mass of the block (2.32 kg), g is the acceleration due to gravity (9.8 m/s^2), and h is the height of the ramp (4.19 m).

Substituting the values into the equation, we get PE = 2.32 kg * 9.8 m/s^2 * 4.19 m = 96.1796 J.

Therefore, the work done by gravity is approximately 96.18 J.