The force required to stretch a Hooke’s-law

spring varies from 0 N to 62.4 N as we stretch
the spring by moving one end 17.2 cm from
its unstressed position.
a) Find the force constant of the spring.
Answer in units of N/m

b) Find the work done in stretching the spring.
Answer in units of J

2 answers

a) 62.4 N/0.172 m = 362.8 N/m

b) (1/2)*(max stretch)(max force)
= 0.5*0.172 m*62.4 N = ___ J
thank you for the help!!!