 %%% Please replace what is within each curly bracket with the correct information below. %%%
%%% The first field is already filled in for you.  %%%

\def\ClassName {15281} % Your course 


%\solution{
% \fbox{\begin{minipage}[t][5cm][t]{13cm} \Answer \end{minipage}} 
% }
%%%%% FILL IN YOUR ANSWERS TO EACH QUESTION BY REPLACE WHAT IS IN THE CURLY BRACKETS.
\def\Answer{\textbf{Put your answer here:}}
\def\AnswerNoPrompt{}

%%COMMENT OUT TO PRODUCE BLANK DOCUMENT
\def \showSolutions{}

\documentclass[twoside]{article}
\usepackage{placeins}
\usepackage{class}
\usepackage{graphicx}
\graphicspath{{./figs/}}
\usepackage{amsmath, amsthm, amssymb}
\usepackage{enumerate}
\usepackage{wrapfig}
\usepackage{enumitem}
\usepackage{color}
\usepackage{pifont}
\usepackage{mdwlist}
\usepackage[lofdepth,lotdepth]{subfig}
\usepackage{mdwlist}
\usepackage[ampersand]{easylist}
\usepackage{ wasysym }
\ListProperties(Hide=100, Hang=true, Progressive=3ex, Style*=-- ,
Style2*=$\bullet$ ,Style3*=$\circ$ ,Style4*=\tiny$\blacksquare$ )
\title{HW9}

\usepackage{multirow}
\usepackage{multicol}

\pagestyle{myheadings}


\renewcommand{\P}{\mathbf{P}}
\newcommand{\eat}[1]{\ignorespaces}
\newcommand{\todo}[1]{ {\color{blue} TODO: #1} }
\newcommand{\X}{\ding{110}}
\newcommand{\F}{$\bullet$}
\newcommand{\Pac}{$<$}
\newcommand{\bigCI}{\mathrel{\text{\scalebox{1.07}{$\perp\mkern-10mu\perp$}}}}
\def\truefalse{\vspace{0.3in} \item (\emph{true} or \emph{false}) }
\def\indep{\perp\!\!\!\perp}
\def\sgn{\mathop{\mathrm{sign}}}
\newcommand{\solutionspace}[4]{\fbox{\begin{minipage}[t][#1][t]{#2} \textbf{#3} 

\solution{}{#4} \end{minipage}}}

% Bubbles for multiple choice questions
\newcommand{\emptycircle}{$\Large\bigcirc$}
\newcommand{\filledcircle}{$\Large\newmoon$}
\newcommand{\mcqb}{$\bigcirc$\ \ }
\newcommand{\mcqs}{\solution{\mcqb}{$\Large\newmoon$\ \ }}
\newcommand{\emptysquare}{{\Large $\square$}\ \ }
\newcommand{\filledsquare}{{\Large $\boxtimes$}\ \ }
\newcommand{\squaresolution}{\solution{\emptysquare}{\filledsquare}}

\begin{document}
\thispagestyle{empty}

\input{yoursolution}

\maketitle 
\smallskip
\smallskip
\textbf{INSTRUCTIONS}
\begin{itemize}
\item \textbf{Due:} \textbf{Monday, November 18, 2024 at 10:00 PM EDT.} Remember that you may use up to 2 slip days for the written homework making the last day to submit \textbf{Wednesday November 20, 2024 at 10:00 PM EDT}. 
\item \textbf{Format:} Write your answers in the \texttt{yoursolution.tex} file and compile a pdf (preferred) or you can type directly on the blank pdf. Make sure that your answers are within the dedicated regions for each question/part. If you do not follow this format, we may deduct points. Handwritten solutions are acceptable, but do not print out and scan the homework.
\item \textbf{How to submit:} Submit a pdf with your answers on Gradescope. Log in and click on our class 15-281, click on the HW10 assignment, and upload your pdf containing your answers. 
\item \textbf{Policy:} See the course website for homework policies and academic integrity.
\end{itemize}

\begin{center}
\begin{tabular}{|r|c|}
\hline
\begin{minipage}{3cm}~\\Name~\\~\\\end{minipage} & \begin{minipage}[c][1cm][c]{8cm} ~ \Name \end{minipage}  \\
\hline
\begin{minipage}{3cm}~\\Andrew ID~\\~\\\end{minipage} &
\AndrewID \\
\hline
\begin{minipage}{3cm}~\\Hours to complete? ~\\~\\\end{minipage} & \solution{\emptycircle}{\TwoHours} (0, 2] hours \hspace{0.5cm} \solution{\emptycircle}{\ThreeHours} (2, 3] hours \hspace{0.5cm}
\solution{\emptycircle}{\FourHours} (3, 4] hours \hspace{0.5cm}
\solution{\emptycircle}{\FiveHours} (4, 5] hours\\
&
\solution{\emptycircle}{\SixHours} (5, 6] hours \hspace{0.5cm}
\solution{\emptycircle}{\SevenHours} (6, 7] hours \hspace{0.5cm}
\solution{\emptycircle}{\EightHours} (7, 8] hours \hspace{0.5cm}
\solution{\emptycircle}{\MoreThanEightHours} $>$ 8 hours \\
\hline

\end{tabular}
\end{center}

\vfill

\smallskip
\smallskip
\smallskip
\smallskip
\smallskip


\newpage
\input{q1}
\newpage
\input{q2}
\newpage
\input{q3}
\newpage
\input{q4}
\newpage
\input{q5}
\end{document}