Reference Guide

Full Command and Function Reference 3-189
Input/Output:
Level 2/Argument 1 Level 1/Argument 2 Level 1/Item 1
'symb
1
'
'global'
'symb
2
'
See also: COLCT, EXPAN, ISOL, SHOW, SOLVE
QUOT
Type: Function
Description: Returns the quotient part of the Euclidean division of two polynomials.
Access: Arithmetic,
POLYNOMIAL
Input: Level 2/Argument 1: The numerator polynomial.
Level 1/Argument 2: The denominator polynomial.
Output: The quotient of the Euclidean division.
Flags: Exact mode must be set (flag –105 clear).
Numeric mode must not be set (flag –3 clear).
Radians mode must be set (flag –17 set).
Example: Find the quotient of the division of
x
3
6x
2
11x 6+ + +
by
x
2
5x 6+ +
.
Command:
QUOT(X^3+6*X^2+11*X+6, X^2+5*X+6)
Result:
X+1
See also: REMAINDER, DIV2, IQUOT
QUOTE
Type: Function
Description: Quote Argument Function: Returns its argument unevaluated.
When an algebraic expression is evaluated, the arguments to a function in the expression are
evaluated before the function. For example, when SIN(X) is evaluated, the name X is evaluated
first, and the result is placed on the stack as the argument for SIN.
This process creates a problem for functions that require symbolic arguments. For example, the
integration function requires as one of its arguments a name specifying the variable of integration.
If evaluating an integral expression caused the name to be evaluated, the result of evaluation
would be left on the stack for the integral, rather than the name itself. To avoid this problem, the
calculator automatically (and invisibly) quotes such arguments. When the quoted argument is
evaluated, the unquoted argument is returned.
If a user-defined function takes symbolic arguments, quote the arguments using QUOTE.
Access: …µ
QUOTE
Input/Output:
Level 1/Argument 1 Level 1/Item 1
obj
obj
Example: The following user-defined function ArcLen calculates the arc length of a function:
« → start end expr var
« start end expr var ˆ SQ 1 + ƒ var »
»
`OArcLen K
To use this user-defined function in an algebraic expression, the symbolic arguments must be
quoted:
'ArcLen(0,π,QUOTE(SIN(X)),QUOTE(X))'
See also: APPLY, | (Where)