Answer:
The force constant is 
The energy stored in the spring is 
Explanation:
From the question we are told that
The mass of the object is 
The period is 
The period of the spring oscillation is mathematically represented as

where k is the force constant
So making k the subject

substituting values


The energy stored in the spring is mathematically represented as

Where x is the spring displacement which is given as

substituting values


I think the correct answer would be that because electromagnets are powerful and can be turned off and on anytime. Electromagnet is a magnet in which the magnetic field is made by the electric current that is induced to the system.