Daniel B. answered 11/01/20
A retired computer professional to teach math, physics
Let
m = 5 kg be the mass,
g = 9.8 m/s2 be gravitational acceleration
If the string is accelerated up then the acceleration
adds to the gravitational acceleration (as if the object were heavier).
If the string is accelerated down then the acceleration
subtracts from the gravitational acceleration (as if the object were lighter).
Once we know the net acceleration, then tension can be calculated from
Newton's second law.
The reason is that in the case of mass on a cord, tension is force due
to the acceleration of the mass.
a) F = m(g + 1.7 m/s2)
= 5kg(9.8 m/s2 + 1.7 m.s2) = 57.5N
b) F = m(g - 1.3 m/s2)
= 5kg(9.8 m/s2 - 1.3 m.s2) = 42.5N