- #1

kyva1929

- 18

- 0

## Homework Statement

Please see the attached image

## Homework Equations

I'm stucked in part B, asking me to show that the combined potential energy of spring and gravity can be written in the form of 1/2ky^2

## The Attempt at a Solution

integrating -(-ky+mg) with respect to y, from y_0 to y, (and setting the potential energy in y_0 = 0), gives me an expression which is just the algebraic sum of the potential energy in each separate case. One of them is dependent on y^2 while the other is dependent on only y. I have no idea how this could be rewritten in the form of 1/2ky^2, please help!