I saw this in a textbook and I want to confirm if it's true
If a body of mass m rolls down an inclined plane of height h and length l (hypotenuse), the work done is mgh. It is the vertical height of the inclined plane that is used in the calculation, not the length (hypotenuse) of the inclined plane.
Please how true is this because I believe we should be using a little bit of trigonometry since the object also moved a horizontal distance. Please if true, how?