Two non-mixing liquids of densities \[\rho \] and\[n\rho (n>1)\] are put in a container. The height of each liquid is h. A solid cylinder of length L and density d is put in this container. The cylinder floats with its axis vertical and length \[pL(p<1)\]in the denser liquid. The density d is equal to :-