HP (Hewlett-Packard) 40gs Calculator User Manual


 
Computer Algebra System (CAS) 14-65
Example
Typing:
IABCUV(48, 30, 18)
gives:
6 AND –9
IBERNOULLI Returns the nth Bernoulli’s number B(n) where:
Example
Typing:
IBERNOULLI(6)
gives:
ICHINREM Chinese Remainders: ICHINREM(A AND P,B AND Q)
returns C AND R, where A, B, P and Q are whole
numbers.
The numbers X = C + k · R where k is an integer are such
that X = A mod P and X = B mod Q.
A solution X always exists when P and Q are mutually
prime, (GCD(P,Q) = 1) and in this case, all the solutions
are congruent modulo R = P · Q.
Example
Typing:
ICHINREM(7 AND 10, 12 AND 15)
gives:
–3 AND 30
ILAP LAP is the Laplace transform of a given expression. The
expression is the value of a function of the variable stored
in VX.
t
e
t
1
-------------
Bn()
n!
-----------
t
n
n
0=
+
=
1
42
-----------
hp40g+.book Page 65 Friday, December 9, 2005 1:03 AM