%% This document created by Scientific Notebook (R) Version 3.0


\documentclass[12pt,thmsa]{article}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{makeidx}
\usepackage{sw20jart}

%TCIDATA{TCIstyle=article/art4.lat,jart,sw20jart}

%TCIDATA{<META NAME="ViewSettings" CONTENT="31">}
%TCIDATA{<META NAME="GraphicsSave" CONTENT="32">}
%TCIDATA{<META NAME="Title" CONTENT="Handling Definitions">}
%TCIDATA{Created=Mon Aug 19 14:52:24 1996}
%TCIDATA{LastRevised=Thu Feb 13 17:01:11 1997}
%TCIDATA{Language=American English}
%TCIDATA{CSTFile=MathHelp.cst}
%TCIDATA{<LINK REL="author" HREF="DM0-1.tex">}
%TCIDATA{<LINK REL="first" HREF="DM5-1.tex">}
%TCIDATA{<LINK REL="contents" HREF="DM0-0.tex">}
%TCIDATA{<LINK REL="copyright" HREF="DM0-2.tex">}
%TCIDATA{<LINK REL="end" HREF="DM5-7.tex">}
%TCIDATA{<LINK REL="index" HREF="DMIndex.tex">}
%TCIDATA{<LINK REL="next" HREF="DM5-4.tex">}
%TCIDATA{<LINK REL="parent" HREF="DM5.tex">}
%TCIDATA{<LINK REL="previous" HREF="DM5-2.tex">}
%TCIDATA{<LINK REL="top" HREF="DM0-0.tex">}

\input{tcilatex}
\begin{document}


\section{Handling\label{Definitions} Definitions}

The choices on the \textsf{Define} submenu, in addition to \textsf{New
Definition}, include \textsf{Undefine, Show Definitions, Clear Definitions,
Save Definitions, Restore Definitions,} and \textsf{Define Maple Name}. The
two choices \textsf{New Definition} and \textsf{Show Definitions} also
appear on the \textsf{Compute} toolbar as \FRAME{itbpF}{0.3009in}{0.3009in}{%
0.0701in}{}{}{newdef.wmf}{\special{language "Scientific Word";type
"GRAPHIC";display "PICT";valid_file "F";width 0.3009in;height 0.3009in;depth
0.0701in;original-width 17.8125pt;original-height 16.9375pt;cropleft
"0";croptop "1";cropright "1";cropbottom "0";filename
'NEWDEF.WMF';file-properties "XNPEU";}} and \FRAME{itbpF}{0.3009in}{0.2914in%
}{0.0701in}{}{}{showdef.wmf}{\special{language "Scientific Word";type
"GRAPHIC";display "PICT";valid_file "F";width 0.3009in;height 0.2914in;depth
0.0701in;original-width 17.8125pt;original-height 16.9375pt;cropleft
"0";croptop "1";cropright "1";cropbottom "0";filename
'SHOWDEF.WMF';file-properties "XNPEU";}}.

\subsection{\ Showing Definitions}

You view the complete list of currently defined variables and functions for
the document that is open by choosing 
\index{Define@Define!show definitions@show definitions}\label%
{Define, show definitions}\textsf{Show Definitions} from the \textsf{Define}
submenu. A window comes up showing the definitions in force in that
document. The defined variables and functions are listed in the order in
which the definitions were made.\smallskip

\subsection{\ Removing\label{Undefine} a Definition}

You can remove from a document a definition that you created with \textsf{%
Define + New Definition} (or an assumption that you have created with $%
\func{assume}$) in any of the following ways.

\begin{itemize}
\item  Select the defining equation, or select the name of the defined
expression or function, and from the \textsf{Define} submenu choose \textsf{%
Undefine}. 
\index{Define@Define!undefine@undefine} 
\index{Undefine}

\item  From the \textsf{Define} submenu, choose \textsf{Clear Definitions}
(to cancel all definitions displayed under \textsf{Show Definitions} that
were created with \textsf{Define + New Definition}).

\item  Make another definition with the same name.

\item  On the \textsf{Definition Options} page of \textsf{Maple Settings},
check \textsf{Do Not Save}. Close the document. (See the next section,
Saving and Restoring Definitions, for more detail on this option.)
\end{itemize}

For the first option, you can select the equation or name by placing the
insertion point within or on the right side of the equation or name that you
wish to remove, or you can select the entire equation, expression, or
function name by using the mouse. You can copy the defining equation from
the list of definitions in the \textsf{Show Definitions} window and paste it
into the document if you do not have a copy readily at hand.\smallskip \strut

\subsection{\ Saving \label{Saving definitions}and Restoring Definitions}

Choosing 
\index{Define@Define!save definitions@save definitions}\label%
{Define, save definitions}\textsf{Save Definitions} from the \textsf{Define} 
\index{Define@Define!restore definitions@restore definitions}\label%
{Define, restore definitions}submenu has the effect of storing all the
currently active definitions in the working copy of the current document.
When the document is saved, the definitions are saved with it. \textsf{%
Restore Definitions} does exactly the reverse---it takes any definitions
stored with the current document and makes them active.\medskip

For each document, you can set the system

\begin{enumerate}
\item[1.]  not to save or restore definitions automatically (in which case
you must actively choose to save or restore definitions when you wish to do
so),

\item[2.]  to give you a prompt when you enter or exit the document asking
whether you wish to save or restore definitions, or

\item[3.]  to save or restore definitions automatically.
\end{enumerate}

To set the system to one of these options, from the \textsf{Maple} menu
choose \textsf{Settings}, \textsf{Definition Options}, and make your choices
in the dialog box. 
\FRAME{dtbpF}{4.1961in}{2.5832in}{0pt}{}{}{maplsetd.wmf}{\special{language
"Scientific Word";type "GRAPHIC";display "PICT";valid_file "F";width
4.1961in;height 2.5832in;depth 0pt;original-width 299.625pt;original-height
183.6875pt;cropleft "0";croptop "1";cropright "1";cropbottom "0";filename
'maplsetd.wmf';file-properties "XNPEU";}}

The default for each new document is \textsf{Always Save} and \textsf{Always
Restore}.

\strut

\subsection{\ Related topics}

\begin{itemize}
\item  \hyperref{Defining Variables and Functions}{}{}{DM5-2.tex#Define}

\item  \hyperref{Exercises and Solutions}{}{}{DM5-7.tex#Exercises}
\end{itemize}

\rule{0.67in}{0.01in}

\hyperref{\FRAME{itbpF}{38.875pt}{24.5pt}{6pt}{}{}{index.wmf}{\special%
{language "Scientific Word";type "GRAPHIC";maintain-aspect-ratio
TRUE;display "PICT";valid-file "F";width 38.875pt;height 24.5pt;depth
6pt;original-width 36.125pt;original-height 22.5625pt;cropleft "0";croptop
"1";cropright "1";cropbottom "0";filename 'index.wmf';file-properties
"XNPEU";}}}{}{}{DMIndex.tex#Math Index}\quad {\small Index entries: 
\hyperref{Define}{}{}{DMIndex.tex#Define}, \hyperref{Maple settings}{}{}{%
DMIndex.tex#Maple settings}}

\end{document}
