A vertical string, suspended from a fixed point and having a small mass attached to…