Solve the all parts of given problem:
Problem: A Spring of negligible mass has force constant K= 1700 N/m.
Part A: How far must the spring be compressed for an amount 3.10 J of pontential energy to be stored in it?
Part B: You place the spring vertically with one end on the floor. You then drop a book of mass 1.10kg onto it from a height of 0.700m above the top of the spring. Find the maximum distance the spring will be compressed. Take the free fall acceleration to be 9.80m/s2. Express your answer using two significant figures.
Please show your all work and steps and equations you used for above problem.