Answer: The dependent variable is the time while the independent variable is the Length.
From the given question, the variables to deal with are
Angle of the swing
Time of swing
Length of swing and
mass of the weigh attached to the swing
Let us use simple harmonic motion to analyze the scenario by using dimension of physical quantity for a small mass suspended from a long thread.
according to SHM formula, w = 
where the angular speed w = angle turned / the time (Period)
At the end of the derivation of the expression relating to the time, length, angle and mass
T = K
Time T does not depend of mass.
Therefore, The dependent variable is the time while the independent variable is the Length.
Learn more on : brainly.com/question/24567971