Math 34 homework template
Författare
Diana Davis
Last Updated
för 6 år sedan
Licens
LaTeX Project Public License 1.3c
Sammanfattning
Template for multivariable calculus homework, including code for common formatting.
Template for multivariable calculus homework, including code for common formatting.
% ===============================================
% MATH 34: Multivariable calculus Spring 2019
% hw_template.tex
% ===============================================
% -------------------------------------------------------------------------
% You can ignore this preamble. Go on
% down to the section that says "START HERE"
% -------------------------------------------------------------------------
\documentclass{article}
\usepackage[margin=1.5in]{geometry} % Please keep the margins at 1.5 so that there is space for grader comments.
\usepackage{amsmath,amsthm,amssymb,hyperref}
\newcommand{\R}{\mathbf{R}}
\newcommand{\Z}{\mathbf{Z}}
\newcommand{\N}{\mathbf{N}}
\newcommand{\Q}{\mathbf{Q}}
\newenvironment{theorem}[2][Theorem]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]}{\end{trivlist}}
\newenvironment{lemma}[2][Lemma]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]}{\end{trivlist}}
\newenvironment{claim}[2][Claim]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]}{\end{trivlist}}
\newenvironment{problem}[2][Problem]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]}{\end{trivlist}}
\newenvironment{proposition}[2][Proposition]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]}{\end{trivlist}}
\newenvironment{corollary}[2][Corollary]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]}{\end{trivlist}}
\newenvironment{solution}{\begin{proof}[Solution]}{\end{proof}}
\begin{document}
\large % please keep the text at this size for ease of reading.
% ------------------------------------------ %
% START HERE %
% ------------------------------------------ %
{\Large Page 4 % Replace with appropriate page number
\hfill Math 34, Multivariable Calculus}
\begin{center}
{\Large Author's Name} % Replace "Author's Name" with your name
\end{center}
\vspace{0.05in}
% -----------------------------------------------------
% The "enumerate" environment allows for automatic problem numbering.
% To make the number for the next problem, type " \item ".
% To make sub-problems such as (a), (b), etc., use an "enumerate" within an "enumerate."
% -----------------------------------------------------
\begin{enumerate}
\item Partial derivatives.
\begin{enumerate}
\item $f_x(x,y) = x^2+y^2$.
\item $f_y(x,y) = \sin(xy)$.
\end{enumerate}
% -----------------------------------------------------
% Second problem
% -----------------------------------------------------
\item This is a problem about a double integral!
$$\int_{y=0}^{y=6} \int_{x=0}^{x=6-y} f(x,y) \ dx \ dy = 8/3.$$
or if you don't want it displayed, $\int_{y=0}^{y=6} \int_{x=0}^{x=6-y} f(x,y) \ dx \ dy = 8/3,$ or perhaps you prefer $\displaystyle \int_{y=0}^{y=6} \int_{x=0}^{x=6-y} f(x,y) \ dx \ dy = 8/3$?
\item Let's take partial derivatives a different way!
$$\frac{\partial}{\partial x} xy = y.$$
If you need a particular symbol and don't know the code for it, try \url{detexify.kirelabs.org}.
\end{enumerate}
% ---------------------------------------------------
% Anything after the \end{document} will be ignored by the typesetting.
% ----------------------------------------------------
\end{document}