Latex beamer打table的时候弹出一个这个! Missing $ inserted. <inserted text> $ l.116 \end{frame}是什么意思

不知道这个哪里出错了,可以帮忙解决一下吗,感谢!!

这是代码
\begin{frame}{Maclaurin Series}
\begin{block}{Example}
Find the polynomial function $g(x)$ to approximate $f(x)=\ln (1+x)$ at $x=0$ ,show terms to $x^4$.
\end{block}

\begin{table}
\right
\begin{tabular} {| c| c|c |}
\hline
Name & Equation & $x=0$
\hline
$f(x)$ & $\ln(x+1)$ & $f(0)=0$\
\hline
$f ^{(1)}(x)$ & $\frac{1}{x+1}$ & $f'(0)=1$\
\hline
$f ^{(2)}(x)$ & $-\frac{1}{x+1}$ & $f^{(2)}(0)=-1$\
\hline
$f^{(3)}(x)$ & $\frac{2}{(x+1)^3}$ & $f^{(3)}(0)=2$\
\hline
$f^{(4)}(x)$ & $-\frac{6}{(x+1)^4}$ & $f{(4)}(0)=-6$\
\hline

\end{tabular}
\end{table}
\end{frame}

运行结果及报错内容

! Missing $ inserted.

$
l.116 \end{frame}

?

我的解答思路和尝试过的方法
我想要达到的结果