Harder. Not compressible(unless using an extremely strong force). Non-metal have more of a chance of breaking than metals.
Answer:
9.25 x 10^-4 Nm
Explanation:
number of turns, N = 8
major axis = 40 cm
semi major axis, a = 20 cm = 0.2 m
minor axis = 30 cm
semi minor axis, b = 15 cm = 0.15 m
current, i = 6.2 A
Magnetic field, B = 1.98 x 10^-4 T
Angle between the normal and the magnetic field is 90°.
Torque is given by
τ = N i A B SinФ
Where, A be the area of the coil.
Area of ellipse, A = π ab = 3.14 x 0.20 x 0.15 = 0.0942 m²
τ = 8 x 6.20 x 0.0942 x 1.98 x 10^-4 x Sin 90°
τ = 9.25 x 10^-4 Nm
thus, the torque is 9.25 x 10^-4 Nm.
The elastic potential energy of a spring is given by

where k is the spring's constant and x is the displacement with respect to the relaxed position of the spring.
The work done by the spring is the negative of the potential energy difference between the final and initial condition of the spring:

In our problem, initially the spring is uncompressed, so

. Therefore, the work done by the spring when it is compressed until

is

And this value is actually negative, because the box is responsible for the spring's compression, so the work is done by the box.