Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I've been trying to get this to work, but I keep getting errors saying Paragraph ended before \end was complete. I can't see where the issue is though. Could someone help?

\documentclass[12pt, a4paper]{article}
\usepackage{amsmath}
\usepackage[T1]{fontenc}

\begin{document}


When hydrogen is the fuel used:
\begin{equation*}
U_t=2249\ln \frac{1\times10^{6}{1\times10^6-424.6t}}
\end{equation*}

When kerosene is the fuel used:
\begin{equation*}
U_t=1737\ln \frac{1\times10^{6}{1\times10^6-1022t}}
\end{equation*}

When hydrazine is the fuel used:
\begin{equation*}
U_t=2025\ln \frac{1\times10^{6}{1\times10^6-1004t}}
\end{equation*}

\end{document}
share|improve this question
6  
You have a problem with \frac, it needs two parameters. And you have one in the code. –  m0nhawk Jan 7 at 18:42
    
Thank you, I hadn't realized I'd made a mistake with the braces over there. –  TheSarcasticScientist Jan 8 at 2:04

1 Answer 1

up vote 2 down vote accepted

As noted above, there is something wrong with the "Fraction". A fraction is created using the \frac{numerator}{denominator} command. See here for some excellent hints.

Otherwise, try it with:

When hydrogen is the fuel used:
\begin{equation*}
U_t=2249\ln\frac{1\times10^6}{1\times10^{6-424t}}
\end{equation*}
share|improve this answer
    
Thank you so much. I've changed it. Do you have any tips for avoiding mistakes with braces in the future, or is it just a matter of remaining vigilant? –  TheSarcasticScientist Jan 8 at 2:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.