latex 卡住了,无法显示第 2 页

latex 卡住了,无法显示第 2 页

我有以下代码

\documentclass[12pt]{article}
\begin{document}
Amanuel Negash.
Introduction to modern physics\\
1.question number 1\\
$\frac{c-w}{c+w}=\frac{((c-u)(c-v))}{((c+u)(c+v))}
(c-w)((c+u)(c+v)=(c+w)((c-u)(c-v))\\
c(c+u)(c+v)-w(c+u)(c+v)=c(c-u)(c-v)+w(c-u)(c-v)\\
c(c+u)(c+v)-c(c-u)(c-v)=w(c+u)(c+v)+w(c-u)(c-v)\\
c[(c+u)(c+v)-(c-u)(c-v)]=w[(c+u)(c+v)+(c-u)(c-v)]\\
w=\frac{c[(c+u)(c+v)-(c-u)(c-v)]}{(c+u)(c+v)+(c-u)(c-v)}$\\
$w=\frac{c[c^2+(cu)+(cv)+uv-[c^2-(cu)-(cv)+uv]}{c^2+(cu)+(cv)+uv-[c^2-(cu)-(cv)+uv}$\\
\newpage
$w=\frac{2c[cv+cu]}{2[c^2+uv]}$$\\
$$w=\frac{c^2(v+u)*1/c^2}{[c^2+uv]*1/c^2}$\\
$w=\frac{v+u}{1+\frac{u*v}{C*C}}$\\

2. question number 2\\
first I want to proof $cosh(a+b)$ and $sinh(a+b)$ to their respective identities that will help me solve the problem. 


\end{document}

文档出了什么问题导致它显示此错误。我想添加页面,但 latexmaker 似乎不允许我这样做。请提供任何建议。

Underfull \hbox (badness 10000) in paragraph at lines 4--14

答案1

您显示的警告只是一个警告,而不是错误,但是有多个地方显示了该警告\\并且$被误用,也cosh应该是\cosh,否则它将被设置为数学斜体,其中分隔的字母看起来像变量的乘积而不是函数名称。

也许是类似

在此处输入图片描述

\documentclass[12pt]{article}
\usepackage{amsmath}
\allowdisplaybreaks
\author{Amanuel Negash}
\title{Introduction to modern physics}
\begin{document}

\maketitle

\begin{enumerate}
\item question number 1
\begin{align*}
\frac{c-w}{c+w}&=\frac{((c-u)(c-v))}{((c+u)(c+v))}\\
(c-w)((c+u)(c+v)&=(c+w)((c-u)(c-v))\\
c(c+u)(c+v)-w(c+u)(c+v)&=c(c-u)(c-v)+w(c-u)(c-v)\\
c(c+u)(c+v)-c(c-u)(c-v)&=w(c+u)(c+v)+w(c-u)(c-v)\\
c[(c+u)(c+v)-(c-u)(c-v)]&=w[(c+u)(c+v)+(c-u)(c-v)]
\end{align*}
\begin{align*}
w&=\frac{c[(c+u)(c+v)-(c-u)(c-v)]}{(c+u)(c+v)+(c-u)(c-v)}\\
w&=\frac{c[c^2+(cu)+(cv)+uv-[c^2-(cu)-(cv)+uv]}{c^2+(cu)+(cv)+uv-[c^2-(cu)-(cv)+uv}\\
w&=\frac{2c[cv+cu]}{2[c^2+uv]}\\
w&=\frac{c^2(v+u)*1/c^2}{[c^2+uv]*1/c^2}\\
w&=\frac{v+u}{1+\frac{u*v}{C*C}}\\
\end{align*}

\item question number 2

first I want to prove $\cosh(a+b)$ and $\sinh(a+b)$ to their respective identities that will help me solve the problem. 

\end{enumerate}
\end{document}

相关内容