\documentclass[11pt]{article}

\usepackage[pdftex]{graphicx}
\DeclareGraphicsExtensions{.pdf,.jpeg,.png}
\usepackage{ifpdf}
\usepackage[cmex10]{amsmath}
\usepackage{subfigure}

%        \linespread{1.25}
%        \oddsidemargin=.2in
%        \evensidemargin=.2in
%        \textwidth=6.3 in %5.9in
%        \topmargin=-.5in
%        \textheight=9in

\date{\today}

\renewcommand{\labelitemi}{$\blacksquare$}
\renewcommand{\labelitemii}{$\blacktriangleright$}
\renewcommand{\labelitemiii}{$\bullet$}
\renewcommand{\labelitemiv}{$\circ$}



\begin{document}

\begin{center}
         \Huge {\bf 5358 HW \#2} \\
         \Large [Your Name] \\
        \small Spring Semester, 2014
 \end{center}
 
 
 
    \begin{enumerate}
        \item The speed limit is 60 mph on an open highway with no traffic. Here are three obvious rules to control your car with a fuzzy control system.
            \begin{enumerate}
            \item If you are going too fast, then slow down.
            \item If you are going close to the speed limit, stay at roughly the same speed.
            \item If you are going too slow, then speed up.
            \end{enumerate}
        We interpret ``slow down'' and ``speed up'' as negative acceleration (deceleration) and positive acceleration.\footnote{
            Note this problem has only one antecedent and one consequent.
            }
                     Let's measure acceleration in
                    \begin{center}
                    (miles per hour) per second.
                    \end{center}
        \begin{enumerate}
            \item Draw and label fuzzy membership functions for the antecedents and consequents of these fuzzy control rules.
            Label your graphs clearly with the corresponding fuzzy linguistic variables, velocities and acceleration numbers. (Like any fuzzy control system, there is not a unique answer here. I'm looking for a reasonable answer that, on one hand, doesn't take forever and, on the other, doesn't jerk you around in the passenger seat.)
            \item Evaluate the instantaneous response ({\em i.e.} acceleration) of your system when
                \begin{enumerate}
                \item you are going the speed limit, and
                \item you're going 50 mph.
                \end{enumerate}
        \item Repeat the problem using clipped membership functions in the defuzzification step.
        \end{enumerate}
        
    \item 
    \label{FuzzyXor}
    Let $A$ and $B$ be Boolean variables. The exclusive or (XOR) is defined
            \begin{equation}
             A \oplus B = A \cdot B + \bar{A} \cdot \bar{B}
            \label{XOR}
            \end{equation}
    where the overbar denotes the Boolean complement. Let's generalize this to when $A$ and $B$ are fuzzy sets with membership functions $\mu_A (x)$ and $\mu_B (x)$.
        \begin{enumerate}
        \item Generate a 2D plot of the XOR in \eqref{XOR} using min-max fuzzy logic.
        \item Do the same for sum-product fuzzy logic.
        \item Make up and plot your own fuzzy XOR that matches boundary conditions.
        \item Consider the two membership functions in Figure~\ref{Fuzzy2Fig.pdf}. For the three fuzzy XOR's you've calculated, plot and label the XOR's of these two functions. Make sure your plots are carefully labelled.
        \end{enumerate}
                        \begin{figure}[b]
                        \begin{center}
                        \includegraphics[width=4in]{Fuzzy2Fig.pdf}
                        \end{center}
                        \caption{Figure for Problem~\ref{FuzzyXor}.}
                        \label{Fuzzy2Fig.pdf}
                        \end{figure}
 \end{enumerate}

\end{document}
