\documentclass[12pt]{article}
\usepackage{graphics}
\usepackage{amsfonts}
\usepackage{amssymb}

\begin{document}

\title{An Introduction to \LaTeX}
\author{Matt Jones}           %%%%%%%%%%%%%%  Use the "%" sign to type comments within the code.      They will not appear in the pdf file.
\date{}                       %%%%%%%   Prints today's date.  If you type a date within the braces, it will print that date.
\maketitle                     %%%    Prints the title.

\section{Introduction}  %%%%%%%%%%    \section*{} does the same thing but without the numbering

\LaTeX is a powerful typesetting program capable of creating
beautiful documents with mathematical notation.  You can get all the
Greek letters like this: $\alpha, \beta, \gamma, \delta, \epsilon,
\ldots$.  You could also put them in a display like this: \[\alpha,
\beta, \gamma, \delta, \epsilon, \ldots\]

One can typeset the series expansion for $e^{\alpha}$ like this:

\[e^{\alpha} = \sum_{k=0}^{\infty} \frac{\alpha^k}{k!}\]

Mathematical displays requiring one line can be typeset using
brackets:

\[\frac{\partial^2}{\partial x^2} f(x,y)  = -\frac{\partial^2}{\partial y^2} f(x,y)\]

Displays requiring multiple lines with aligned ``=" signs can be
accomplished like this:

\begin{eqnarray}
\int_0^t \lambda e^{-\lambda x} dx &=& -e^{-\lambda x}
\Big|_0 ^t\\
&=& 1 - e^{-\lambda x}
\end{eqnarray}

If line numbers on the display are not required, eliminate them with
using $\backslash \texttt{nonumber}$:


\begin{eqnarray}
\nonumber \int_0^t \lambda e^{-\lambda x} dx &=& -e^{-\lambda x}
\Big|_0 ^t\\
&=& 1 - e^{-\lambda x} \nonumber
\end{eqnarray}


.jpg files saved in the same folder as your .tex document can be put
into your document like this:

\begin{figure}
        \begin{center}
        \scalebox{0.18}{\includegraphics{Matt}}     %%%%%%%%%%%% \scalebox{} will adjust the size of the picture.
        \end{center}
        \caption{Matt Jones, c.a. 2005}
\end{figure}

\section{Your Turn!}  Take the rest of class to
do the following:

\begin{enumerate} \item Open a new .tex file.

\item Choose a simple calculus or physics problem you have recently worked on, and type it into the
editor under a section you call ``Problem".  Type the solution into
a section you call ``Solution".

\item Using the notation in this example and on the web, try
typesetting the problem and its solution into the editor.  Be sure
to compile often so errors will easily be caught.

\item Give your document a title such as ``Calculus Problem \# 236" and
put your names as the authors.

\item Find a fun .jpg file and put the picture in your document.

Below is an example:

\section*{Problem \#16} Consider the function \[f(x) =
\frac{6x+3}{2x-1}.\] Find \[\lim _{x \to \pm \infty} f(x).\]

\section*{Solution} \begin{eqnarray*}
\lim _{x \to \pm \infty} f(x) &=& \lim _{x \to \pm \infty}
\frac{6x+3}{2x-1}\\
&=& \lim _{x \to \pm \infty} \frac{x(6+3/x)}{x(2-1/x)}\\
&=&\lim _{x \to \pm \infty} \frac{6+3/x}{2-1/x}\\
&=& 6/2 = 3.
\end{eqnarray*}

\end{enumerate}


        \begin{center}
        \scalebox{0.40}{\includegraphics{DeeSnider}}     %%%%%%%%%%%% \scalebox{} will adjust the size of the picture.
        \end{center}


\end{document}

