%\input{params}
\documentclass[11pt,twoside]{article}

\usepackage{graphics}
\newcommand{\nand}{|}

\input{macros-course}

\def\cent{{\not\!\mathrm{c}}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\printlayout
\askaboutsolutions

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\tutref}{tut9}
\newcommand{\tutnum}{9}
\newcommand{\tutdate}{November 3, 2000}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\handout{miniquiz8}{Mini-Quiz 8}{\tutdate}




\begin{enumerate}
\item Write your name:

\bigskip
\item How many strings are there of lowercase letters of length 4 or less?

\end{enumerate}



\solution{
\medskip
\textbf{Solution:}

Assuming that we are dealing with the English language, there are 26 letters to choose from. We need to figure out how many different strings there are of lenght $0,1,2,3,$ and $4$. 
\begin{itemize}

\item Strings of length $0$: $1$ (the empty string)
\item Strings of length $1$: $26^1 =26$.
\item Strings of length $2$: $26^2 = 676$.
\item Strings of length $3$: $26^3 = 17576$.
\item Strings of length $4$: $26^4 = 456976$.
\medskip
\item Grand total: $475,255$ different strings, that is, $\displaystyle \sum_{i=0}^{4} 26^i$


\end{itemize}
}
\end{document}

