A 15.0-kg block rests on a horizontal table and is attached to one end of a massless, horizontal spring. By pulling horizontally on the other end of the spring, someone causes the block to accelerate uniformly and reach a speed of 5.00 m/s in 0.500 s. In the process, the spring is stretched by 0.200 m. The block is then pulled at a constant speed of 5.00 m/s, during which time the spring is stretched by only 0.0500 m. Find (a) the spring constant of the spring and (b) the coefficient of kinetic friction between the block and the table.