Hello!
When the object is hung from the spring, the force of the spring balances out the force due to gravity. In terms of equations:
![\Sigma F = F_g - F_s\\\\0 = F_g - F_s\\\\F_s = F_g](https://img.qammunity.org/2023/formulas/physics/high-school/79dx0m4tvav257mlq5u1dz8ifxvw6h3xvl.png)
The force of a spring is equivalent to:
![F_s = -kx \\](https://img.qammunity.org/2023/formulas/physics/high-school/ohekhmioqhy1penq9x2jxlegffu83pp7ek.png)
k = Spring Constant (3000 N/m)
x = Extension of spring (0.05 m)
**Negative sign means the force is in the opposite direction of the extension. For example, if you pull a spring, the spring force tries to collapse the spring, aka it works against you
The force due to gravity is equivalent to:
![F_g = mg](https://img.qammunity.org/2023/formulas/physics/college/moakau8e1h9y97pkf3kj6exsvwe06bmox3.png)
m = mass (? kg)
g = acceleration due to gravity (9.81 m/s²)
Solving for mass:
![kx = mg\\\\m = (kx)/(g)\\\\m = (3000(0.05))/(9.81) = \boxed{15.29 kg}](https://img.qammunity.org/2023/formulas/physics/high-school/p7qeabpm9fptw79k21ndrt3kyn5twu4vkn.png)