not sure anybody reads this. certainly doesn't look hopeful. nevertheless.....

I'm trying to put this piece of code into a jsMath enabled webpage, but I don't really understand maths.

this is the markup:

\begin{eqnarray*}

V&=& \int_0^2\pi(5x^2-9)^2,dx\\
&=& \pi \int_0^2(25x^4-90x^2+81)\,dx\\
&=& \pi \left[5x^5-30x^3+81x\right]_0^2\\
&=& \pi(5\times32-30\times8+81\times2)\\
&=& 82\pi.

\end{eqnarray*}

If I strip out the \begin{eqnarray*} and end... and add $ signs, I get this message:

can only appear in a matrix or array

I don't understand this. how do I format an array using ascii math.

Thanks