# Exp2pow; Expand - HP 48gII Advanced User's Reference Manual

Graphing calculator.

Output:
The rewritten expression.
Flags:
Exact mode must be set (flag –105 clear).
Numeric mode must not be set (flag -3 clear).
Rewrite in terms of hyperbolic functions the expression e
Example:
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:
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
Command:
EXP2POW(EXP(5*LN(X)))
5
Result:
X
Example 2:
Simplify the expression e
Command:
EXP2POW(EXP(N*LN(X)))
N
Result:
X
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.
Algebra, ...×or P
Access:
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:
2
+
2 x
x
-------------------------------
x
+
1
Command:
EXPAND((X^2+2*X+1)/(X+1))
Result:
X+1
EXPAN
REWRITE
5·ln(x)
n·ln(x)
ALG
+
1
5
ln
x
Computer Algebra Commands 4-29