\begin{frame}[fragile]{formulecomponenten - sommatie en product}
    \begin{minted}[]{tex}
    \[
        \sum_{i=0}^\n x^i
    \]
    \[
        \prod_{k=3}^7 k  
    \]
    \end{minted}
    \begin{tcolorbox}[width=11cm, size=small]
        \[
            \sum_{i=0}^n x^i
        \]
        \[
            \prod_{k=3}^7 k  
        \]
    \end{tcolorbox}

\end{frame}