Flags:

Numerical Results (–3), Exact Mode (–105)

 

 

Input/Output:

 

 

 

 

 

 

 

 

 

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

x

x

 

 

'symb1'

'symb2'

 

 

(x, y)

(x, y)

 

'A^(B+C)'

 

 

 

Example 1:

EXPAN returns 'A^C*A^B'

 

 

Example 2:

'(X+Y)^2' EXPAN returns 'X^2+2*Y*X+Y^2'

 

See also:

COLCT, EXPAND, ISOL, QUAD, SHOW

 

 

 

 

 

 

 

EXPAND

 

 

 

 

Type:

Command

 

 

Description:

Expands and simplifies an algebraic expression. This command is similar to the EXPAN

 

command (which is included to ensure backward-compatibility with the HP 48-series calculators),

 

except that EXPAND does more a more in-depth analysis and often does a better job at

 

simplifying an expression than EXPAN.

 

 

Access:

Algebra, …×or PALG

 

 

Input:

An expression, or an array of expressions.

 

 

Output:

The expanded and simplified expression or array of expressions.

 

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:

Simplify the following expression:

 

 

 

(x2 + 2x + 1)

 

 

 

-------------------------------

 

 

 

 

x + 1

 

 

Command:

EXPAND((X^2+2*X+1)/(X+1))

 

 

Result:

X+1

 

 

See also:

EXPAN

 

 

 

 

 

 

 

EXPANDMOD

 

 

 

 

Type:

Function

 

 

Description:

Expands and simplifies an algebraic expression, or an array of expressions, modulo the current

 

modulus.

 

 

Access:

MODULO

 

 

Input:

An expression, or an array of expressions.

 

 

Output:

The expanded and simplified expression, or array of expressions, modulo the current modulus.

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: Expand the following expression and give the result modulo 3:

(x + 3)(x + 4)

Command: EXPANDMOD((X+3)*(X+4))

Result: X^2+X

3-80 Full Command and Function Reference