Solve the following problem given below:
Problem: A spring is hung vertically and has a length of 50 cm when no mass is on it. When a 0.5 kg mass is attached to the end and it is allowed to come to a rest, it is 75 cm long.
Part A: What is its spring constant?
Please use great detail in explaining the solution. Thank you.