# Potential energy of a spring!

1. Jun 15, 2010

### dulaville

~~potential energy of a spring!

1. The problem statement, all variables and given/known data

A spring with a 0.500kg mass is pulled 0.25m from the equilibrium position. Calculate the potential energy of the spring at 0.25m, if the spring constant is 6.8N/m.

2. Relevant equations

Ep=mgh
Ep=kx^2/2

3. The attempt at a solution

Don't know where to start, sorry!

2. Jun 15, 2010

### thecapo

Re: ~~potential energy of a spring!

<Solution deleted by mods>

Last edited by a moderator: Jun 15, 2010
3. Jun 15, 2010

### Redbelly98

Staff Emeritus
Re: ~~potential energy of a spring!

Moderator's note:

Please do not solve other members' homework problems for them. We help by providing hints, guidance, and clarification.

From our forum guidelines on giving homework help:

Regards,

Redbelly98
Physics Forums Mentor

4. Jun 16, 2010

### jeppetrost

Re: ~~potential energy of a spring!

You've got both equations right, now you just need to figure a couple o' things out:
How much gravitational energy did it gain from being streched? (Because streching it could mean the center of mass is closer to or further from the earth's center)
How much "spring"-energy did it gain?

It also depends on wether the spring lies on the floor, flat, or hangs from the cieling, eg.