[tex]\sf{n=\dfrac{7}{2}}[/tex]
Explanation:-
[tex](\sqrt{3})^{7}=3^{n}\\\\(3^{\footnotesize{\dfrac{1}{2}}})^{7}=3^n\\\\3^{\small{\dfrac{7}{2}}}=3^{n}\\\\n=\dfrac{7}{2} [/tex][tex]\sf{ }[/tex]