%%%%%%%%%%%%%%%%%%%%%%
% Your name here     %
% Name of assignment %
% Class              %
% Date               %
%%%%%%%%%%%%%%%%%%%%%%

% set up the general format of the paper
\documentclass[12pt]{article}

%%%%%%%%%%%%%%%%%%%%%%
% packages to load   %
%%%%%%%%%%%%%%%%%%%%%%
% personally I prefer to set the margins a bit wider than the default
\usepackage[left=2cm, right=2cm, top=2cm, bottom=2cm]{geometry}

% useful for formatting (align*, etc.) and for certain symbols (the QED box, etc.)
\usepackage{amsmath, amssymb, amsthm}

% for conveniently specifying the spacing (\singlespacing, \doublespacing,
%    \onehalfspacing, etc.)
\usepackage{setspace}
\doublespacing

%%%%%%%%%%%%%%%%%%%
% some formatting %
%%%%%%%%%%%%%%%%%%%
% so that the pages won't be numbered
\pagestyle{empty}

%%%%%%%%%%%%%%%%
% new commands %
%%%%%%%%%%%%%%%%
% set up a new command to insert a little bit of vertical space
% (use this BEFORE a line break)
\newcommand{\padding}{\vspace*{.5cm}}

% add your own new commands here

%%%%%%%%%%%%%%%%%%%%
% new environments %
%%%%%%%%%%%%%%%%%%%%
% set up an environment to format each hw problem in
\newenvironment{problem}[1]{\noindent\textbf{#1.}}{\vspace*{.5cm}}


%%%%%%%%%%%%%%%%%%%%%%%%%
% let the text begin... %
%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}

% right justify the header at the top
\begin{flushright}
Your name here\\ % double slash is for a new line
Class name\\
Date here
\end{flushright}

% center the title of the paper
\begin{center}
% boldface the title as well
\textbf{Homework 3}
\end{center}

% now we begin with the paper proper...
Check out \texttt{http://detexify.kirelabs.org/classify.html} for a website where you can hand-draw a \LaTeX symbol and it will try to recognize it and tell you how to get it in \LaTeX (including which package it needs, if it needs one).
\padding

\begin{problem}{23}
This is where we solve Problem 23 by sheer wit and amazing technical dexterity.  And then we go on to the next problem.
\end{problem}

\begin{problem}{32}
Problem 32 is somewhat more difficult, since it is an even-numbered problem and the answer is not in the back of the book.  But we still solve it too, using the master formula:
\[
e = \frac{1}{2} mc^2 \pm \varepsilon.
\]
It's hard to stop the master formula with mere mathematical dilemmas, you know.  We could even state it within the text as $e = (1/2) mc^2 \pm \varepsilon$, and we could add $x$ or $\Gamma$ to the right side as desired (to finish the problem). $\square$
\end{problem}

\begin{problem}{40}
We solve this one with a series of equations and inequalities:
\begin{align*}
2 &= 1 + 1\\
&= 37-35\\
&\geq -71.3\\
&= -71.3.\ \square % the \ gives a blank space
\end{align*}
\end{problem}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% wrap up the text of the paper %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}
