(i) Substitute both observations in l=am+b:
19=2a+band25=5a+b
From the first, b=19−2a. Substitute in the second:
25=5a+19−2a=3a+19
3a=6,a=2
Then b=19−2×2=15. So a=2, b=15, and l=2m+15. Check: 2×5+15=25.
(ii) For m=8:
l=2×8+15=16+15=31
The spring will be 31 cm long.
(iii) When nothing hangs, m=0 and l=b=15. So b is the length of the spring with no load: 15 cm. (The value a=2 means the spring stretches 2 cm for every kilogram.)