%/users/math/faculty/drideout/courses/2130/06w/firstclass.tex
\documentclass[12pt]{article}

\usepackage{2130}

\begin{document}

\section{This is Section 1}
We will start with drawing a diagram of a triangle $\triangle ABC$.
We can format math formulas:
$\displaystyle y=\frac{1+x^2}{1     -x^2}, ~~~~\cos(A+B)=\cos A \cos B
-\sin A \sin B.$
\begin{scaledpicture}{30}(6,8)(2,-1)
\join(0,0)(5,6)(8,0)(0,0)
\swput(0,0){$A$}\nput(5,6){$B$}\seput(8,0){$C$}
\put(2,0){\join(0,0)(5,6)(8,0)(0,0)
\swput(0,0){$A'$}\nput(5,6){$B'$}\seput(8,0){$C'$}
}

\end{scaledpicture}

\section{This is Section 2}
Isn't \LaTeX\ fun!

This is the approx symbol $\approx$.
\begin{eqnarray*}
ax^2+bx+c&=&a(x^2+\frac{b}{a}x)+c\\
&=&a(x^2+\frac{b}{a}x+(\frac{b}{2a})^2-(\frac{b}{2a})^2)+c\\
&=&a(x+\frac{b}{2a})^2-\frac{b^2}{4a}+c\\
&=&a(x+\frac{b}{2a})^2-\frac{b^2-4ac}{4a}
\end{eqnarray*}

The above was generated using the following Latex Code:

\begin{verbatim}
\documentclass[12pt]{article}

\usepackage{2130}

\begin{document}

\section{This is Section 1}
We will start with drawing a diagram of a triangle $\triangle ABC$.
We can format math formulas:
$\displaystyle y=\frac{1+x^2}{1     -x^2}, ~~~~\cos(A+B)=\cos A \cos B
-\sin A \sin B.$
\begin{scaledpicture}{30}(6,8)(2,-1)
\join(0,0)(5,6)(8,0)(0,0)
\swput(0,0){$A$}\nput(5,6){$B$}\seput(8,0){$C$}
\put(2,0){\join(0,0)(5,6)(8,0)(0,0)
\swput(0,0){$A'$}\nput(5,6){$B'$}\seput(8,0){$C'$}
}

\end{scaledpicture}

\section{This is Section 2}
Isn't \LaTeX\ fun!

This is the approx symbol $\approx$.
\begin{eqnarray*}
ax^2+bx+c&=&a(x^2+\frac{b}{a}x)+c\\
&=&a(x^2+\frac{b}{a}x+(\frac{b}{2a})^2-(\frac{b}{2a})^2)+c\\
&=&a(x+\frac{b}{2a})^2-\frac{b^2}{4a}+c\\
&=&a(x+\frac{b}{2a})^2-\frac{b^2-4ac}{4a}
\end{eqnarray*}


\end{verbatim}
\end{document}
