A 200-g block is pressed against a spring of force constant 1.40 kN/m until the block compresses the spring 10.0 cm. The spring rests at the bottom of a ramp inclined at 60.0° to the horizontal. Using energy considerations, determine how far up the incline the block moves before it stops (a) if the ramp exerts no friction force on the block and (b) if the coefficient of kinetic friction is 0.400.