HP 40gs User Manual

Page 172

Advertising
background image

13-18

Using mathematical functions

Examples

ISOLATE(2*X+8,X) returns -4
ISOLATE(A+B*X/C,X) returns -(A*C/B)

LINEAR?

Tests whether expression is linear for the specified
variable. Returns

0 (false) or 1 (true).

LINEAR?(expression, variable)

Example

LINEAR?((X^2-1)/(X+1),X) returns 0

QUAD

Solves quadratic expression=

0 for variable and returns

a new expression, where variable=newexpression. The
result is a general solution that represents both positive
and negative solutions by including the formal variable
S1 to represent any sign: + or – .

QUAD(expression, variable)

Example

QUAD((X-1)

2

-7,X) returns (2+s1*(2*√7))/2

QUOTE

Encloses an expression that should not be evaluated
numerically.

QUOTE(expression)

Examples

QUOTE(SIN(45))

F1(X) stores the

expression SIN(45) rather than the value of SIN(45).

Another method is to enclose the expression in single
quotes.

For example,

X^3+2*X

F1(X) puts the

expression

X^3+2*X into F1(X) in the Function

aplet.

| (

where

)

Evaluates expression where each given variable is set to
the given value. Defines numeric evaluation of a symbolic
expression.

expression|(variable1=value1, variable2=value2,...)

Example

3*(X+1)|(X=3) returns 12.

hp40g+.book Page 18 Friday, December 9, 2005 1:03 AM

Advertising
This manual is related to the following products: