Step 1: Use a net force on each piece of the rod:
Take a small piece of length $dx$ at distance $x$ from the hinge. Its weight is $\rho A g\,dx$ downward, and the buoyant force is $\rho_{liq} A g\,dx$ upward.
So the net upward force on the piece is $(\rho_{liq} - \rho)\,A g\,dx$.
When the rod is tilted by $\theta$, the horizontal arm of this force about the hinge is $x\sin\theta \approx x\theta$.
Step 2: Add up the torques:
Lower half, heavy liquid: $\rho_{liq} - \rho = 5\rho$, for $0 < x < L/2$.
\[ \tau_1 = \int_0^{L/2} 5\rho A g\,x\theta\,dx = \frac{5}{8}\rho A g L^2\theta \]
Upper half, light liquid: $\rho_{liq} - \rho = \rho$, for $L/2 < x < L$.
\[ \tau_2 = \int_{L/2}^{L} \rho A g\,x\theta\,dx = \rho A g\theta\left(\frac{L^2}{2} - \frac{L^2}{8}\right) = \frac38\rho A g L^2\theta \]
Both are restoring. Total restoring torque is $\left(\dfrac58 + \dfrac38\right)\rho A g L^2\theta = \rho A g L^2\theta$.
Step 3: Equation of motion:
The rod rotates about its end, so $I = \dfrac{mL^2}{3} = \dfrac{\rho A L^3}{3}$.
\[ \frac{\rho A L^3}{3}\,\ddot\theta = -\rho A g L^2\,\theta \quad\Rightarrow\quad \ddot\theta = -\frac{3g}{L}\theta \]
Step 4: Time period and $n$:
This is simple harmonic motion with $\omega_0 = \sqrt{3g/L}$.
\[ T = \frac{2\pi}{\sqrt3}\sqrt{\frac Lg} \quad\Rightarrow\quad n = \sqrt3 = 1.732 \]
The value $1.73$ lies between 1.70 and 1.75.
Final Answer:
n is about 1.73.
\[ \boxed{n = \sqrt{3} \approx 1.73} \]