A body of mass m = 0.5 kg is suspended by a string and pulled…