I just cant seem to derive the correct formula for this one. A spring with k=40.0 N/m is at the base of a frictionless 30 degree inclined plane. A 0.50 kg object is pressed against the spring, compressing in 0.3m from its equilibrium position. The object is then released. If the object is not attached to the spring, how far up the incline does it travel before coming to res and then sliding back down?