Calculus functions – HP 40gs User Manual

Page 160

Advertising
background image

13-6

Using mathematical functions

Example

2^8 returns 256

ABS

Absolute value. For a complex number, this is

.

ABS(value)
ABS((x,y))

Example

ABS(–1) returns 1
ABS((1,2)) returns 2.2360679775

Takes the nth root of x.

root

NTHROOT value

Example

3 NTHROOT 8 returns 2

Calculus functions

The symbols for differentiation and integration are
available directly form the keyboard—

and S

respectively—as well as from the MATH menu.

Differentiates expression with respect to the variable of
differentiation. From the command line, use a formal
name (S1, etc.) for a non-numeric result. See “Finding
derivatives” on page 13-21.

variable(expression)

Example

s1(s1

2

+3*s1) returns 2*s1+3

Integrates expression from lower to upper limits with
respect to the variable of integration. To find the definite
integral, both limits must have numeric values (that is, be
numbers or real variables). To find the indefinite integral,
one of the limits must be a formal variable (s1, etc).

(lower, upper, expression, variable)

See “Using formal variables” on page 13-20 for
further details.

x

2

y

2

+

n

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

Advertising
This manual is related to the following products: