The potential energy of the spring is 6.75 J
Explanation:
The elastic potential energy stored in a spring is given by the equation:

where
k is the spring constant
x is the compression/stretching of the string
For the spring in this problem, we have:
k = 150 N/m is the spring constant
x = 0.3 m is the compression
Substituting, we find

Learn more about potential energy:
brainly.com/question/1198647
brainly.com/question/10770261
#LearnwithBrainly