  Using a pointwise version of Fej\'{e}r's theorem about Fourier series, we
obtain two formulae related to the series representations of positive integral
powers of $\pi$. We also check the correctness of our formulae by the
applications of the R software.
