Sagebrush · Examples · LaTeX documents

Homework or exam

Numbered problems with points

LaTeX document · intro · by Sagebrush · MIT license

teachingwriting

Download (ZIP)Source on GitHub

Preview

homework.tex
\documentclass{article}
\usepackage{amsmath}
\newcommand{\points}[1]{\hfill\textbf{(#1 points)}}
\begin{document}
\begin{center}
  {\Large\textbf{Math 101: Homework 3}}\\
  Due Friday. Total: 30 points.
\end{center}

\noindent Name: \underline{\hspace{6cm}}

\begin{enumerate}
  \item Compute $\displaystyle \int_0^{\pi} \sin x \, dx$. \points{5}
  \item Solve the system \points{10}
    \[ \begin{aligned} x + y &= 3, \\ 2x - y &= 0. \end{aligned} \]
  \item Prove that $\sqrt{2}$ is irrational. \points{10}
  \item True or false? Give a reason. \points{5}
    \begin{enumerate}
      \item Every continuous function is differentiable.
      \item $\sum_{n \ge 1} 1/n$ converges.
    \end{enumerate}
\end{enumerate}
\end{document}

Files

Open the ZIP's LaTeX document in Sagebrush (File, Open) to run and change it.