I figured out where I was going wrong, it was in the trig for getting the force down the ramp. mgsinθ, not mg/sinθ, although I still got the right answer for the last part using mg/sinθ.
Homework Statement
A spring is set to move along the surface of a frictionless ramp, which is tilted...