%==============================================================================
% Homework X, CS155 (Spring 2019)
%==============================================================================
\newcommand{\thishw}{\bf Homework X}
\newcommand{\myname}{Jane Doe}
\newcommand{\mylogin}{jdoe}

%==============================================================================
% Formatting parameters.
%==============================================================================

\documentclass[11pt]{article} % 10pt article, want AMS fonts.
\makeatletter					% Make '@' accessible.
\pagestyle{myheadings}				% We do our own page headers.
\def\@oddhead{\bf CS155 - \thishw\hfill \myname (\mylogin)} % Here they are.
\def\thesection{Problem\hskip-1em\ }		% Section headlines.
\oddsidemargin=0in				% Left margin minus 1 inch.
\evensidemargin=0in				% Same for even-numbered pages.
\textwidth=6.5in				% Text width (8.5in - margins).
\topmargin=0in					% Top margin minus 1 inch.
\headsep=0.2in					% Distance from header to body.
\textheight=8in					% Body height (incl. footnotes)
\skip\footins=4ex				% Space above first footnote.
\hbadness=10000					% No "underfull hbox" messages.
\makeatother					% Make '@' special again.

%\usepackage{newalg}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{latexsym}
\usepackage{psfig}

%==============================================================================
% Macros.
%==============================================================================
\newcommand{\problem}[1]{\section{#1}}		% Problem.
\newcommand{\new}[1]{{\em #1\/}}		% New term (set in italics).
\newcommand{\set}[1]{\{#1\}}			% Set (as in \set{1,2,3})
\newcommand{\setof}[2]{\{\,{#1}|~{#2}\,\}}	% Set (as in \setof{x}{x > 0})
\newcommand{\C}{\mathbb{C}}	                % Complex numbers.
\newcommand{\N}{\mathbb{N}}                     % Positive integers.
\newcommand{\Q}{\mathbb{Q}}                     % Rationals.
\newcommand{\R}{\mathbb{R}}                     % Reals.
\newcommand{\Z}{\mathbb{Z}}                     % Integers.
\newcommand{\compl}[1]{\overline{#1}}		% Complement of ...            

%==============================================================================
% Title.
%==============================================================================

\begin{document}
\centerline{\LARGE\thishw}

\problem{1}

% %%%%%%%%%%%%%%%%%%%  PROBLEM 1 %%%%%%%%%%%%%%%%%%%%%%%%

Since we know that $X$ is a binomial random variable, we can use
chernoff bounds to..
\newpage
\problem{2}

% %%%%%%%%%%%%%%%%%%%  PROBLEM 2 %%%%%%%%%%%%%%%%%%%%%%%%
Type here
\newpage
\problem{3}

% %%%%%%%%%%%%%%%%%%%  PROBLEM 3 %%%%%%%%%%%%%%%%%%%%%%%%
Type here
\newpage
\problem{4}

% %%%%%%%%%%%%%%%%%%%  PROBLEM 4 %%%%%%%%%%%%%%%%%%%%%%%%
Type here
\newpage
\problem{5}

% %%%%%%%%%%%%%%%%%%%  PROBLEM 5 %%%%%%%%%%%%%%%%%%%%%%%%
Type here
\newpage
\problem{6}
% %%%%%%%%%%%%%%%%%%%  PROBLEM 6 %%%%%%%%%%%%%%%%%%%%%%%%


\end{document}

