A spiral spring of natural length 30.0cm and force constant of 20Nm-1 is compressed to…