Detailed instructions for use are in the User's Guide.
[. . . ] You can get more information on the HP 39G/40G from Hewlett-Packard's Calculators web site. You can download customized aplets from the web site and load them onto your calculator. Customized aplets are special applications developed to perform certain functions, and to demonstrate mathematical concepts. Hewlett Packard's Calculators web site can be found at: www. hp. com/calculators
Manual conventions
The following conventions are used in this manual to represent the keys that you press and the menu options that you choose to perform the described operations. [. . . ] Finds the angle defined by a complex number. Inputs and outputs use the current angle format set in Modes. ARG((x, y)) Example ARG((3, 3)) returns 45 (Degrees mode)
CONJ
Complex conjugate. Conjugation is the negation (sign reversal) of the imaginary part of a complex number. CONJ((x, y)) Example CONJ((3, 4)) returns (3, -4)
IM
Imaginary part, y, of a complex number, (x, y). IM ((x, y)) Example IM((3, 4)) returns 4
RE
Real part x, of a complex number, (x, y). RE((x, y)) Example RE((3, 4)) returns 3
10-8
Using mathematical functions
Constants
The HP 39G/40G has an internal numeric representation for these constants.
e
Natural logarithm base. Internally represented as 2. 71828182846. e
i
Imaginary value for -1 , the complex number (0, 1). Internally represented as 9. 99999999999 x 10499. MAXREAL
MINREAL
Minimum real number. (variable=initialvalue, finalvalue, expression) Example (C=1, 5, C2) returns 55.
Matrix functions
These functions are for matrix data stored in matrix variables. See "Matrix functions and commands" on page 12-9.
Using mathematical functions
10-11
Polynomial functions
Polynomials are products of constants (coefficients) and variables raised to powers (terms).
POLYCOEF
Polynomial coefficients. Returns the coefficients of the polynomial with the specified roots. POLYCOEF ([roots]) Example To find the polynomial with roots 2, 3, 4, 5: POLYCOEF([2, -3, 4, -5]) returns[1, 2, -25, -26, 120], representing x4+2x325x226x+120.
POLYEVAL
Polynomial evaluation. Evaluates a polynomial with the specified coefficients for the value of x. POLYEVAL([coefficients], value) Example For x4+2x325x226x+120: POLYEVAL([1, 2, -25, -26, 120], 8) returns 3432.
POLYFORM
Polynomial form. Creates a polynomial in variable1 from expression. POLYFORM(expression, variable1) Example POLYFORM((X+1)^2+1, X) returns X^2+2*X+2.
POLYROOT
Polynomial roots. Returns the roots for the nth-order polynomial with the specified n+1 coefficients. POLYROOT([coefficients]) Example For x4+2x325x226x+120: POLYROOT([1, 2, -25, -26, 120]) returns [2, -3, 4, -5].
10-12
Using mathematical functions
HINT
The results of POLYROOT will often not be easily seen in HOME due to the number of decimal places, especially if they are complex numbers. It is better to store the results of POLYROOT to a matrix. [. . . ] Batteries are delivered with this product. When empty do not throw them away but collect as small chemical waste. Bij dit produkt zijn batterijen geleverd. Wanneer deze leeg zijn, moet u ze niet weggoolen maar inlevern als KCA.
Menu maps of the VARS menu
Home variables
The home variables are: Category Complex
R-8
Available name Z1. . . Z9, Z0
Reference information
Category Graphic Library
Available name (Continued) G1. . . G9, G0 Function Parametric Polar Sequence Solve Statistics User-named L1. . . L9, L0 M1. . . M9, M0 Ans Date HAngle HDigits HFormat Ierr Time User-named Editline User-named A. . . Z,
List Matrix Modes
Notepad Program Real
Function aplet variables
The function aplet variables are: Category Plot Available name Axes Connect Coord FastRes Grid Indep InvCross Labels Recenter Simult Tracing Xcross Ycross Xtick Ytick Xmin Xmax Ymin Ymax Xzoom Yxoom
Reference information
R-9
Category Plot-FCN
Available name (Continued) Area Extremum Isect Angle F1 F2 F3 F4 F5 Digits Format NumCol NumFont NumIndep NoteText Page PageNum Root Slope F6 F7 F8 F9 F0 NumRow NumStart NumStep NumType NumZoom
Symbolic
Numeric
Note Sketch
Parametric aplet variables
The parametric aplet variables are: Category Plot Available name Axes Connect Coord Grid Indep InvCross Labels Recenter Simult Tmin Tmax Tracing Tstep Xcross Ycross Xtick Ytick Xmin Xmax Ymin Ymax Xzoom Yzoom
R-10
Reference information
Category Symbolic
Available name (Continued) Angle X1 Y1 X2 Y2 X3 Y3 X4 Y4 X5 Digits Format NumCol NumFont NumIndep NoteText Page PageNum Y5 X6 Y6 X7 Y7 X8 Y8 X9 Y9 X0 Y0 NumRow NumStart NumStep NumType NumZoom
Numeric
Note Sketch
Polar aplet variables
The polar aplet variables are:
Category Available names Axes Connect Coord Grid Indep InvCross Labels Recenter Simult Umin Umax step
Tracing
Xcross Ycross Xtick Ytick Xmin Xmax Ymin Ymax Xzoom Yxoom
Symbolic
Angle R1 R2 R3 R4 R5
R6 R7 R8 R9 R0
Reference information
R-11
Category Numeric
Available names (Continued) Digits Format NumCol NumFont NumIndep NoteText Page PageNum NumRow NumStart NumStep NumType NumZoom
Note Sketch
Sequence aplet variables
The sequence aplet variables are: Category Plot Available name Axes Coord Grid Indep InvCross Labels Nmin Nmax Recenter SeqPlot Simult Angle U1 U2 U3 U4 U5 Digits Format NumCol NumFont NumIndep NoteText Page PageNum
Reference information
Tracing Xcross Ycross Xtick Ytick Xmin Xmax Ymin Ymax Xzoom Yzoom U6 U7 U8 U9 U0
Symbolic
Numeric
NumRow NumStart NumStep NumType NumZoom
Note Sketch
R-12
Solve aplet variables
The solve aplet variables are: Category Plot Available name Axes Connect Coord FastRes Grid Indep InvCross Labels Recenter Tracing Angle E1 E2 E3 E4 E5 Digits Format NoteText Page PageNum Xcross Ycross Xtick Ytick Xmin Xmax Ymin Ymax Xzoom Yxoom E6 E7 E8 E9 E0
Symbolic
Numeric Note Sketch
NumCol NumRow
Reference information
R-13
Statistics aplet variables
The statistics aplet variables are: Category Plot Available name Axes Connect Coord Grid Hmin Hmax Hwidth Indep InvCross Labels Recenter S1mark S2mark S3mark Angle S1fit S2fit C0, . . . C9 Digits Format NumCol Max Mean Median Min N Q1 Corr Cov Fit MeanX MeanY RelErr NoteText Page PageNum S4mark S5mark StatPlot Tracing Xcross Ycross Xtick Ytick Xmin Xmax Ymin Ymax Xzoom Yxoom S3fit S4fit S5fit NumFont NumRow StatMode Q3 PSDev SSDev PVar SVar Tot X X2 XY Y Y2
Symbolic
Numeric
Stat-One
Stat-Two
Note Sketch
R-14
Reference information
Menu maps of the MATH menu
Math functions
The math functions are: Category Calculus Available name % ) TAYLOR ARG CONJ e i ACOSH ASINH ATANH COSH SINH CONCAT LIST MAKELIST LIST POS ITERATE RECURSE COLNORM COND CROSS DET DOT EIGENVAL EIGENVV IDENMAT INVERSE LQ LSQ LU MAKEMAT QR RANK ROWNORM RREF SCHUR SIZE SPECNORM SPECRAD SVD SVL TRACE TRN IM RE MAXREAL MINREAL TANH ALOG EXP EXPM1 LNP1 REVERSE SIZE LIST SORT
Complex Constant
Hyperb.
List
Loop
Matrix
Reference information
R-15
Category Polynom. [. . . ]