HP Prime Graphing NW280AAABA manual Integer

Models: Prime Graphing NW280AAABA

1 616
Download 616 pages 24.49 Kb
Page 343
Image 343

trigexpand Returns a trigonometric expression in expanded form.

trigexpand(Expr)

Example:

trigexpand(sin(3*x)) gives (4*cos(x)^2- 1)*sin(x)

trig2exp Returns an expression with trigonometric functions rewritten as complex exponentials (without linearization).

trig2exp(Expr)

Example:

trig2exp(sin(x)) returns

i

exp (i x) –

1

----

-exp----------(---i---------x)⎠

2

 

 

Integer

Divisors Returns the list of divisors of an integer or a list of integers.

idivis(Integer)

or

idivis({Intgr1, Intgr2,…})

Example:

idivis(12) returns [1, 2, 3, 4, 6, 12]

Factors Returns the prime factor decomposition of an integer.

ifactor(Integer)

Example:

With the CAS setting Simplify set to None, ifactor(150) returns 2*3*5^2

Factor List Returns a vector containing the prime factors of an integer or a list of integers, with each factor followed by its multiplicity.

ifactors(Integer)

or

ifactors({Intgr1, Intgr2,…})

Example:

ifactors(150) returns [2, 1, 3, 1, 5, 2]

Functions and commands

337

Page 343
Image 343
HP Prime Graphing NW280AAABA manual Integer