I am trying to plot f as a function of k (n,k naturals):
f[n_, k_] := NIntegrate[( n)^(2 k)g1[n, k, \[Theta]], {\[Theta], -\[Pi], \[Pi]}]/NIntegrate[g2[n, k, \[Theta]], {\[Theta], -\[Pi], \[Pi]}];
g1[n_, k_, \[Theta]_] := (Sin[(n \[Theta])/2]/Sin[\[Theta]/2])^(
2 k) (2 Sin[\[Theta]/2])^(2 k);
g2[n_, k_, \[Theta]_] := (Sin[(n \[Theta])/2]/Sin[\[Theta]/2])^(2 k);
n=10;
Plot[f[n, k], {k, 1, 5}]
```