Computer Algebra Commands 4-29
Output: The rewritten expression.
Flags: Exact mode must be set (flag –105 clear).
Numeric mode must not be set (flag -3 clear).
Example: Rewrite in terms of hyperbolic functions the expression
e
5
()ln⋅
Command: EXP2HYP(EXP(5*LN(X)))
Result: SINH(5*LN(X))+COSH(5*LN(X))
EXP2POW
Type: Function
Description: Simplifies expressions involving the composition of the exponential and logarithmic
functions. Compare this to LNCOLLECT which combines logarithmic terms; the difference
is shown in the results of the second example used here and for LNCOLLECT.
Access: !Ú REWRITE
Input: An expression
Output: The simplified expression.
Flags: Exact mode must be set (flag –105 clear).
Numeric mode must not be set (flag -3 clear).
Example 1: Simplify the expression e
5·ln(x)
Command: EXP2POW(EXP(5*LN(X)))
Result: X
5
Example 2: Simplify the expression e
n·ln(x)
Command: EXP2POW(EXP(N*LN(X)))
Result: X
N
See also: LNCOLLECT
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 P
ALG
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:
x
2
2x 1++()
x 1+
-------------------------------
Command: EXPAND((X^2+2*X+1)/(X+1))
Result: X+1
See also: EXPAN