A Simple Example

This is just a single part problem... Note that an image was added to the html document later, and the latex code doesn't know anything about it.

Some setup information for latex...

\documentstyle [12pt,fleqn,colordvi] {article}
\begin{document}
\pagestyle{empty}
The actual text of the problem
Nerve impulses typically travel through the body at about 150 miles/hour. 
Imagine dropping a brick from one meter onto your big toe. Compare the time 
it takes for the brick to fall with the time it takes for the signal to get 
from your toe to your brain.  Assume you are 1.75 meters tall.  (You are 
encouraged to verify the results experimentally if you like...)
Each section* will become a seperate document accessible by a link in the root document -- the text in brackets will be the title of that document and the link.
\section* {Hints}
Be careful with units...
\section* {Solution}
There's two times to calculate...  How long it takes to fall ($t_1$), and
how long it takes for the resulting nerve impulse to reach your brain
($t_2$)...
The equal signs will be lined up in eqnarray*'s. Because html doesn't natively support equations, these will be transformed into inlined images. The * in eqnarray* tells latex not to put numbers by each equation
\begin{eqnarray*}
x     & = & \frac{1}{2}at_1^2 + v_0t_1 + x_0\\
      & = & \frac{1}{2}gt_1^2\\
t_1^2 & = & \frac{2x}{g}\\
t_1   & = & \sqrt{\frac{2x}{g}}\\
      & = & \sqrt{\frac{2(1 m)}{9.8 m/s^2}}\\
      & = & {\bf 0.45 \; seconds}
\end{eqnarray*}
Comments need to be outside of the eqnarray*'s
...and then for the time it takes for your brain to get the signal...

\begin{eqnarray*}
v & = & 150\; mi/hr = 67 \;m/s\\
s & = & 1.75 \;m
\end{eqnarray*}

These eqnarray*'s were split up to give a little space between them...
\begin{eqnarray*}
  v & = & \frac{s}{t_2}\\
t_2 & = & \frac{s}{v}\\
    & = & \frac{1.75\; m}{67\; m/s}\\ 
    & = & {\bf 0.026\; seconds}
\end{eqnarray*}

So it takes 17.3 times longer for the brick to fall than it takes for
the signal to reach your brain.

\end{document}