The potential energy stored in the compressed spring of a dart gun, with a spring constant of 27.50 n/m, is 1.180 j. find by how much is the spring is compressed.