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


\documentclass[12pt,thmsa]{article}
\usepackage{amssymb}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\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="Function and Expression Names">}
%TCIDATA{Created=Mon Aug 19 14:52:24 1996}
%TCIDATA{LastRevised=Thu Feb 13 17:00:09 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-2.tex">}
%TCIDATA{<LINK REL="parent" HREF="DM5.tex">}
%TCIDATA{<LINK REL="previous" HREF="DM4-3.tex">}
%TCIDATA{<LINK REL="top" HREF="DM0-0.tex">}

\input{tcilatex}
\begin{document}


\section{Function\label{Function name} and Expression Names}

The \textsf{Define} options 
\index{Define@Define}\label{Define (2)}in \textsl{Scientific Notebook}%
\textsf{\ }provide a powerful tool, enabling you to define a symbol to be a
mathematical object, and to define a function using an expression or a
collection of expressions.

\subsection{\ Valid Names for Functions and Expressions}

An expression or function name 
\index{Function name@Function name}must be either

\begin{enumerate}
\item[1.]  a single character (other than a standard constant), with or
without a subscript

- or -

\item[2.]  a custom \textsf{Math Name} (which does not allow subscripts).
\end{enumerate}

Expression names, but not function names, may include an arbitrary number of
primes. Variables named with primed characters should be used with caution,
as they are open to misinterpretation in certain contexts.\bigskip

\begin{itemize}
\item  Examples of valid expression names include $\alpha _{X}$, $f_{123}$, $%
g_{\theta }$, $\Omega _{\infty }$, $e_{2}$, $r^{\prime \prime }$, $%
\limfunc{Waldo}$ (custom name).

\item  Examples of valid function names include $\alpha _{X}$, $f_{123}$, $%
g_{\theta }$, $\Omega _{\infty }$, $e_{2}$, $\sin $, $\limfunc{Alice}$
(custom name).

\item  Examples of invalid function names include $\Delta F$ (two
characters), $\pi $, $e$ (standard constants), $f_{ab}$ (two-character
subscript), $r^{\prime }$ (reserved for derivative).
\end{itemize}

In the example of function names, the subscript on $f_{123}$ is properly
regarded as the number one hundred twenty three, not ``one, two, three.''

\strut

\begin{quotation}
\emph{Note\quad }Subscripts on expression or function names must be numbers
or single characters.
\end{quotation}

\strut

\subsection{\ Custom Names\label{Custom Names}}

In general, function or expression names must be single characters. However,
the system includes a number of predefined functions with names that appear
to be multicharacter---such as $\gcd $, $\inf $, and $\limfunc{lcm}$---but
that behave like a single character in the sense that they can be deleted
with a single backspace. You can create custom names with similar behavior
that are legitimate function or expression names. 
\index{Custom name@Custom name}

\begin{quote}
$\blacktriangleright $ To create a custom name
\end{quote}

\begin{enumerate}
\item[1.]  Click the \textsf{Math Name} icon, or from the \textsf{Insert}
menu choose \textsf{Math Name}.

\FRAME{dtbpF}{4.0413in}{2.5841in}{0pt}{}{}{mathname.wmf}{\special{language
"Scientific Word";type "GRAPHIC";maintain-aspect-ratio TRUE;display
"PICT";valid_file "F";width 4.0413in;height 2.5841in;depth
0pt;original-width 292.0625pt;original-height 185.9375pt;cropleft
"0";croptop "1";cropright "1";cropbottom "0";filename
'Mathname.wmf';file-properties "XNPEU";}}

\item[2.]  Type your custom name in the text box under \textsf{Name}.

\item[3.]  Check \textsf{Function or Variable} for Name Type.

\item[4.]  Choose \textsf{OK}.
\end{enumerate}

The gray custom name appears on the screen at the insertion point. You can
use this name to define a function or expression. You can copy and paste or
click and drag this grayed name on the screen, or you can recreate it with
the \textsf{Math Name} dialog.

\subsection{\ Automatic\label{Automatic substitution} Substitution}

\begin{quote}
$\blacktriangleright $ To make a custom name \emph{automatically} gray
\end{quote}

\begin{enumerate}
\item[1.]  From the \textsf{Tools} menu, choose \textsf{Automatic
Substitution}. 
\index{Automatic substitution@Automatic substitution}%
\FRAME{dtbpF}{399.375pt}{196.5625pt}{0pt}{}{}{Figure }{\special{language
"Scientific Word";type "GRAPHIC";maintain-aspect-ratio TRUE;display
"PICT";valid_file "F";width 399.375pt;height 196.5625pt;depth
0pt;original-width 395.25pt;original-height 193.5pt;cropleft "0";croptop
"1";cropright "1";cropbottom "0";filename
'autosubs.wmf';file-properties "XNPEU";}}

\item[2.]  Enter the keystrokes that you wish to use. (This may be an
abbreviated form of the custom name.)

\item[3.]  Click the \textsf{Substitution} box to place the cursor there
and, leaving \textsf{Automatic Substitution} open, click the \textsf{Math
Name} button \FRAME{itbpF}{0.3009in}{0.3009in}{0.0701in}{}{}{function.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 'FUNCTION.WMF';file-properties "XNPEU";}}.

\item[4.]  Enter the custom name in the \textsf{Name} text box in the 
\textsf{Math Name} dialog.

\item[5.]  Choose \textsf{OK}. (The custom name appears in the \textsf{Auto
Substitution} box, in gray.)

\item[6.]  Choose \textsf{Save.}

\item[7.]  Choose \textsf{OK}.
\end{enumerate}

\strut

\subsection{\ Related topics}

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

\item  \hyperref{2D Plots with Defined Functions}{}{}{DM6-4.tex#Plot function%
}

\item  \hyperref{Showing Definitions}{}{}{DM5-3.tex#Definitions}

\item  \hyperref{Removing a Definition}{}{}{DM5-3.tex#Undefine}

\item  \hyperref{Maple Constants}{}{}{DM5-6.tex#Constants}

\item  \hyperref{Maple Expressions}{}{}{DM5-6.tex#Maple + Evaluate}

\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{Automatic substitution}{}{}{DMIndex.tex#Automatic substitution}, 
\hyperref{Custom names}{}{}{DMIndex.tex#Custom names}, \hyperref{Define}{}{}{%
DMIndex.tex#Define}, \hyperref{Functions}{}{}{DMIndex.tex#Functions}, 
\hyperref{Math name}{}{}{DMIndex.tex#Math name} }

\end{document}
