A pharmacy uses a precise scale consisting of a spring S hung vertically to prepare small doses of medication. The upper end of spring S is fixed to a point P on the ceiling, and the natural length of the spring (when nothing is attached) is L0. The spring obeys Hooke's law, so its extension is proportional to the mass of the object hung from it.
First, a standard weight A of mass m1 is gently hung from the lower end of the spring as a calibration test. The spring stretches and reaches equilibrium, and the total length of the spring at that point is L1.
Next, weight A is removed and replaced by a reagent container B of mass m2. Find the total length L2 of the spring when it reaches equilibrium with container B hanging from it. The magnitude of gravitational acceleration g is constant. The mass of the spring and air resistance can be neglected.
Find the total length L2 in units of m and give the answer as a positive integer equal to the value multiplied by 1000.