Flags: | Numerical Results |
|
| |
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 | |||
| except that EXPAND does more a more | |||
| 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 |
|
| |
| Numeric mode must not be set (flag |
|
| |
| Radians mode must be set (flag |
|
| |
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 |
|
| |
| Numeric mode must not be set (flag |
|
| |
| Radians mode must be set (flag |
|
|
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