First, use the static equilibrium condition of the spring balance to find the spring constant \( k \). Then, use the formula for the time period of vertical oscillations of a mass-spring system to relate the mass \( M \), the spring constant \( k \), and the given time period \( T \). Solve for \( M \). Remember to convert units to be consistent (e.g., cm to m).