Other way:
For your graphics labels, use:
<< MaTeX`
Definition of the $\phi(x,n)$ function:
a = 1;
p[f_] := Plot[f, {x, 0, 1}, PlotRange -> {{-0.08, 1.08}, {-60, 280}}, PlotStyle -> {Blue, Thickness[0.0025]}, AxesStyle -> {{Black, Arrowheads[{0, 0.03}]}, {Black, Arrowheads[{0, 0.03}]}}, LabelStyle -> Directive[Black, Bold, Tiny], AxesLabel -> {MaTeX["x", Magnification -> 1], MaTeX["\\phi\\left(x,250\\right)", Magnification -> 1]}, AspectRatio -> 0.85]
ψ[x_, n_] := Sqrt[2/a] Sin[n Pi x/a];
φ[x_, n_] := FullSimplify[Refine[ComplexExpand[Sum[ψ[x, i]*Conjugate[ψ[a/3, i]], {i, 0, n}]], Assumptions -> {x > 0, n > 0}]]
The function $\phi(x,n)$ is given by
$$
\phi(x,n) = \displaystyle\frac{2 \sin \left(\frac{\pi n}{3}\right) \sin (\pi (n+1) x)-\sin (\pi n x) \left(\sin \left(\frac{\pi n}{3}\right)+\sqrt{3} \cos \left(\frac{\pi n}{3}\right)\right)}{2 \cos (\pi x)-1}
$$
φ[x, n]
(* (-(Sqrt[3] Cos[(n π)/3] + Sin[(n π)/3]) Sin[n π x] +
2 Sin[(n π)/3] Sin[(1 + n) π x])/(-1 + 2 Cos[π x]) *)
We take $n = 250$:
φ2[x_] := (-(Sqrt[3] Cos[(n π)/3] + Sin[(n π)/3]) Sin[n π x] + 2 Sin[(n π)/3] Sin[(1 + n) π x])/(-1 + 2 Cos[π x]) /. n -> 250
φ2[x]
(*(Sqrt[3] Sin[250 π x] - Sqrt[3] Sin[251 π x])/(-1 + 2 Cos[π x])*)
Finally, we plot the function $\phi(x,250)$:
p[φ2[x]]
