A 10kg block sliding along a frictionless surface with a velocity of 10m/s comes into contact with a horizontal, uncompressed linear spring. If the spring slows the block down to 0 m/s while being compressed a total of 30 cm, what is its spring constant?