章节标题出现在表格之后

章节标题出现在表格之后

我正在环境中编写家庭作业报告article,并且我想在结果部分包含一个表格,我的代码如下所示

\newpage
\section*{Result}
\begin{table}
\begin{tabular}{m{1.5cm} m{3cm} m{3cm} m{3cm} m{3cm}}
\hline
t & Approx. Solution J=1 & Approx. Solution J=3 & Approx. Solution J=5 & Exact Solution\\
\hline
0.00 & 1.500 & 1.500 & 1.500 & 1.500\\
0.02 & 1.314 & 1.347 & 1.338 & 1.341\\
0.04 & 1.162    &1.199&1.191&1.194\\
0.06& 1.037 &1.075 &1.067 &1.071\\
0.08&0.935&0.973&0.965  &0.969\\
0.10    &0.851  &0.889  &0.881  &0.885\\
0.12    &0.782  &0.820  &0.812  &0.816\\
0.14    &0.725  &0.764  &0.755  &0.759\\
0.16    &0.679  &0.717  &0.709  &0.713\\
0.18    &0.641  &0.679  &0.671  &0.675\\
0.20    &0.610  &0.648  &0.640  &0.643\\
\hline
\end{tabular}
\caption{Result of Running the Code Attached}
\end{table}
Exactly the same as Table 5.13 in the textbook. 

显然我section*之前写过\begin{table},但输出看起来像这样 表格出现在章节标题之前

任何建议都将非常感谢!

相关内容