Page 1
39g+ graphing calculator user’s guide Edition 2 Part Number F2224-90001...
Page 2
Notice REGISTER YOUR PRODUCT AT: www.register.hp.com THIS MANUAL AND ANY EXAMPLES CONTAINED HEREIN ARE PROVIDED “AS IS” AND ARE SUBJECT TO CHANGE WITHOUT NOTICE. HEWLETT-PACKARD COMPANY MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MANUAL, INCLUDING, BUT LIMITED...
Contents Preface Manual conventions ... P-1 Notice ... P-2 1 Getting started On/off, cancel operations...1-1 The display ...1-2 The keyboard ...1-3 Menus ...1-8 Input forms ...1-9 Mode settings ...1-10 Setting a mode...1-12 Aplets (E-lessons)...1-12 Aplet library ...1-16 Aplet views...1-16 Aplet view configuration...1-18 Mathematical calculations ...1-19 Using fractions...1-25 Complex numbers ...1-29...
Page 4
3 Function aplet About the Function aplet... 3-1 Getting started with the Function aplet ... 3-1 Function aplet interactive analysis... 3-9 Plotting a piecewise-defined function ... 3-12 4 Parametric aplet About the Parametric aplet ... 4-1 Getting started with the Parametric aplet... 4-1 5 Polar aplet Getting started with the Polar aplet ...
Page 5
9 Inference aplet About the Inference aplet ...9-1 Getting started with the Inference aplet ...9-1 Importing sample statistics from the Statistics aplet ...9-4 Hypothesis tests ...9-8 One-Sample Z-Test...9-8 Two-Sample Z-Test ...9-9 One-Proportion Z-Test...9-10 Two-Proportion Z-Test ...9-11 One-Sample T-Test ...9-12 Two-Sample T-Test ...9-14 Confidence intervals ...9-15 One-Sample Z-Interval...9-15 Two-Sample Z-Interval ...9-16...
Page 6
12 Variables and memory management Introduction ... 12-1 Storing and recalling variables... 12-2 The VARS menu... 12-4 Memory Manager ... 12-9 13 Matrices Introduction ... 13-1 Creating and storing matrices ... 13-2 Working with matrices ... 13-4 Matrix arithmetic ... 13-6 Solving systems of linear equations ...
Page 7
16 Programming Introduction ...16-1 Program catalog ...16-2 Creating and editing programs...16-4 Using programs ...16-7 Customizing an aplet...16-9 Aplet naming convention ...16-10 Example ...16-10 Programming commands...16-13 Aplet commands ...16-14 Branch commands ...16-17 Drawing commands...16-19 Graphic commands ...16-20 Loop commands ...16-22 Matrix commands...16-23 Print commands...16-25 Prompt commands ...16-25 Stat-One and Stat-Two commands ...16-28...
Page 8
Reference information Glossary... R-1 Resetting the hp 39g+ ... R-3 To erase all memory and reset defaults ... R-3 If the calculator does not turn on ... R-4 Operating details ... R-4 Batteries ... R-4 Variables... R-6 Home variables ... R-6 Function aplet variables ...
Preface Manual conventions Preface The hp 39g+ is a feature-rich graphing calculator. It is also a powerful mathematics learning tool. The hp 39g+ is designed so that you can use it to explore mathematical functions and their properties. You can get more information on the hp 39g+ from Hewlett-Packard’s Calculators web site.
Copyright 2003 Hewlette-Packard Development Company, L.P. The programs that control your hp 39g+ are copyrighted and all rights are reserved. Reproduction, adaptation, or translation of those programs without prior written permission from Hewlett-Packard Company is also prohibited.
If you see the (( )) annunciator or the Low Bat message, then the calculator needs fresh batteries. HOME is the calculator’s home view and is common to all aplets. If you want to perform calculations, or you want to...
Radians, Grads or Degrees angle mode is set for HOME. symbols indicate whether there is more history in the HOME display. Press the scroll in the HOME display. This user’s guide contains images from the hp 39g+ and do not display the menu key label. ) to increase (or...
The keyboard Menu keys Getting started Annunciators. Annunciators are symbols that appear above the title bar and give you important status information. Annunciator Description Shift in effect for next keystroke. To cancel, press Alpha in effect for next keystroke. To cancel, press (( )) Low battery power.
Page 14
Aplet control keys • On the calculator keyboard, the top row of keys are called menu keys. Their meanings depend on the context—that’s why their tops are blank. The menu keys are sometimes called “soft keys”. • The bottom line of the display shows the labels for the menu keys’...
Page 15
Entry/Edit keys Getting started The entry and edit keys are: Meaning Cancels the current operation if the CANCEL calculator is on by pressing Pressing calculator off. Accesses the function printed in blue above a key. Returns to the HOME view, for performing calculations.
Page 16
Shifted keystrokes Meaning (Continued) Displays a menu of all available CHARS characters. To type one, use the arrow keys to highlight it, and press . To select multiple characters, select each and press press There are two shift keys that you use to access the operations and characters printed above the keys: Description Press the...
Page 17
HELPWITH Example Math keys Getting started The hp 39g+ built-in help is available in HOME only. It provides syntax help for built-in math functions. Access the HELPWITH command by pressing and then the math key for which you require SYNTAX syntax help.
See “Math functions by category” on page 11-2 for details of the math functions. When using the MATH menu, or any menu on the hp 39g+, pressing an alpha key takes you straight to the first menu option beginning with that alpha character. With this method, you do not need to press press the key that corresponds to the command’s...
To cancel a menu Input forms Reset input form values Getting started • If there are two columns, the left column shows general categories and the right column shows specific contents within a category. Highlight a general category in the left column, then highlight an item in the right column.
Mode settings H I N T 1-10 You use the Modes input form to set the modes for HOME. Although the numeric setting in Modes affects only HOME, the angle setting controls HOME and the current aplet. The angle setting selected in Modes is the angle setting used in both HOME and current aplet.
Page 21
Getting started Setting Options (Continued) Number The number format mode you set is the Format number format used in both HOME and the current aplet. Standard. Full-precision display. Fixed. Displays results rounded to a number of decimal places. Example: 123.456789 becomes 123.46 in Fixed 2 format.
You select the aplet that you want to work with. Aplets come from a variety of sources: • Built-in the hp 39g+ (initial purchase). • Aplets created by saving existing aplets, which have been modified, with specific configurations. See “Creating new aplets based on existing aplets”...
Page 23
One-variable (x) or two-variable (x and y) statistical data. In addition to these aplets, which can be used in a variety of applications, the hp 39g+ is supplied with two teaching aplets: Quad Explorer and Trig Explorer. You cannot modify configuration settings for these aplets.
Page 24
H I N T 1-14 A great many more teaching aplets can be found at HP’s web site and other web sites created by educators, together with accompanying documentation, often with student work sheets. These can be downloaded free of charge and transferred to the hp 39g+ using the separately supplied Connectivity Kit.
Page 25
Trig Explorer aplet Getting started button is provided to evaluate the student’s knowledge. Pressing displays a target quadratic graph. The student must manipulate the equation’s parameters to make the equation match the target graph. When a student feels that they have correctly chosen the parameters a button evaluates the answer and provide feedback.
Aplet library To open an aplet Aplet views Symbolic view 1-16 Pressing displays the equation at the top of the screen. The equation is controlled by the graph. Pressing the keys moves from parameter to parameter. Pressing the parameter’s values. The default angle setting for this aplet is radians.
Page 27
Plot view Numeric view Plot-Table view Plot-Detail view Getting started Press to display the aplet’s Plot view. In this view, the functions that you have defined are displayed graphically. See “About the Plot view” on page 2-5 for further information. Press to display the aplet’s Numeric view.
NOTE This note is transferred with the aplet if it is sent to another calculator or to a PC. A note view contains text to supplement an aplet. See “Notes and sketches” on page 15-1 for further information.
). You can do all calculations here, and you can access all operations. • Enter an expression into the hp 39g+ in the same left- to-right order that you would write the expression. This is called algebraic entry. • To enter functions, select the key or MATH menu item for that function.
Page 30
Example Long results Negative numbers Scientific notation (powers of 10) Example 1-20 • Press to evaluate the expression you have in the edit line (where the blinking cursor is). An expression can contain numbers, functions, and variables. – 14 8 --------------------------- - Calculate 3 –...
Page 31
The calculator inserts it automatically. Parentheses are also important in specifying the order of operation. Without parentheses, the hp 39g+ calculates according to the order of algebraic precedence (the next topic). Following are some examples using parentheses.
Page 32
7. AND and NOT. 8. OR and XOR. 9. Left argument of | (where). 10.Equals, =. The smallest number the hp 39g+ can represent is –499 1 × 10 (1E–499). A smaller result is displayed as zero. The largest number is 9.99999999999 × 10 (1E499).
Page 33
To copy a previous line To reuse the last result To repeat a previous line Example Getting started When you highlight a previous input or result (by pressing ), the Highlight the line (press number (or expression) is copied into the edit line. Press (last answer) to put the last result from the HOME display into an expression.
Page 34
H I N T Storing a value in a variable 1-24 When you retrieve a number from result to its full precision. When you retrieve a number from the HOME’s display history, you obtain exactly what was displayed. Pressing evaluates (or re-evaluates) the last input, whereas pressing into the edit line.
It’s a good habit to clear the display history ( ) whenever you have finished working in HOME. It CLEAR saves calculator memory to clear the display history. Remember that all your previous inputs and results are saved until you clear them.
Page 36
See “Setting fraction precision” below for more information. The fraction precision setting determines the precision in which the hp 39g+ converts a decimal value to a fraction. The greater the precision value that is set, the closer the fraction is to the decimal value.
Page 37
Fraction calculations Getting started • Precision set to 1: • Precision set to 2: • Precision set to 3: • Precision set to 4 When entering fractions: • You use the key to separate the numerator part and the denominator part of the fraction. •...
Page 38
Converting decimals to fractions 1-28 2. Enter the calculation. Note: Ensure you are in the HOME view. 3. Evaluate the calculation. To convert a decimal value to a fraction: 1. Set the number format mode to Fraction. 2. Either retrieve the value from the History, or enter the value on the command line.
Storing complex numbers Getting started The hp 39g+ can return a complex number as a result for some math functions. A complex number appears as an ordered pair (x, y), where x is the real part and y is the imaginary part.
Catalogs and editors 1-30 The hp 39g+ has several catalogs and editors. You use them to create and manipulate objects. They access features and stored values (numbers or text or other items) that are independent of aplets. • A catalog lists items, which you can delete or transmit, for example an aplet.
Aplets and their views Aplet views About the Symbolic view Defining an expression (Symbolic view) Aplets and their views This section examines the options and functionality of the three main views for the Function, Polar, Parametric, and Sequence aplets: Symbolic, Plot, and Numeric views. The Symbolic view is the defining view for the Function, Parametric, Polar, and Sequence aplets.
Page 42
Or define the nth term as a non- recursive expression in terms of n only. In this case, the calculator inserts the first two terms based on the expression that you define. Aplets and their views...
Evaluating expressions In aplets Aplets and their views In the Symbolic view, a variable is a symbol only, and does not represent one specific value. To evaluate a function in Symbolic view, press another function, then other functions in terms of their independent variable. 1.
Page 44
In HOME SYMB view keys You can also evaluate any expression in HOME by entering it into the edit line and pressing For example, define F4 as below. In HOME, type F4(9)and press substituting 9 in place of X into F4. The following table details the menu keys that you use to work with the Symbolic view.
About the Plot view Setting up the plot (Plot view setup) Aplets and their views Meaning (Continued) Displays the menu for entering math operations. Displays special characters. To enter CHARS one, place the cursor on it and press . To remain in the CHARS menu and enter another special character, press Deletes the highlighted expression or...
Page 46
Plot view settings The plot view settings are: Field Meaning Specifies the minimum and XRNG, YRNG maximum horizontal (X) and vertical (Y) values for the plotting window. For function plots: Resolution; “Faster” plots in alternate pixel columns; “Detail” plots in every pixel column.
Reset plot settings Exploring the graph PLOT view keys Aplets and their views Field Meaning (Continued) Connect the plotted points. (The CONNECT Sequence aplet always connects them.) Label the axes with XRNG and LABELS YRNG values. Draw the axes. AXES Draw grid points using XTICK GRID and YTICK spacing.
Page 48
Trace a graph To move between relations Meaning (Continued) Turns menu-key labels on and off. When the labels are off, pressing • Pressing full row of labels. • Pressing removes the row of labels to display only the graph. • Pressing displays the coordinate mode.
Page 49
To jump directly to a value To turn trace on/off Zoom within a graph ZOOM options Aplets and their views To jump straight to a value rather than using the Trace function, use the menu key. Press a value. Press to jump to the value.
Page 50
2-10 Option Meaning (Continued) Divides vertical scale only, using Y-Zoom In Y-factor. Multiplies vertical scale only, using Y-Zoom Out Y-factor. Changes the vertical scale to match Square the horizontal scale. (Use this after doing a Box Zoom, X-Zoom, or Y-Zoom.) Sets the X-Zoom and Y-Zoom factors Factors...
Page 51
ZOOM examples Aplets and their views Option Meaning (Continued) Returns the display to the previous Un-zoom zoom, or if there has been only one zoom, un-zoom displays the graph with the original plot settings. The following screens show the effects of zooming options on a plot of Plot of Zoom In:...
Page 52
To box zoom 2-12 X-Zoom Out: X-Zoom Out Now un-zoom. Y-Zoom In: Y-Zoom In Now un-zoom. Y-Zoom Out: Y-Zoom Out Zoom Square: Square The Box Zoom option lets you draw a box around the area you want to zoom in on by selecting the endpoints of one diagonal of the zoom rectangle.
Page 53
To set zoom factors Aplets and their views 5. Press to zoom in on the boxed area. 1. In the Plot view, press 2. Press 3. Select Set Factors... and press 4. Enter the zoom factors. There is one zoom factor for the horizontal scale (XZOOM) and one for the vertical scale (YZOOM).
Other views for scaling and splitting the graph VIEWS menu options 2-14 The preset viewing options menu ( options for drawing the plot using certain pre-defined configurations. This is a shortcut for changing Plot view settings. For instance, if you have defined a trigonometric function, then you could select Trig to plot your function on a trigonometric scale.
Page 55
Split the screen Aplets and their views Option Meaning (Continued) Rescales horizontal axis so Trig 1 pixel= /24 radian, 7.58, or 1 pixel = 0.1 unit. (Not in Sequence or Statistics aplets.) The Plot-Detail view can give you two simultaneous views of the plot.
Overlay plots Decimal scaling Integer scaling Trigonometric scaling About the numeric view 2-16 2. To move up and down the table, use the cursor keys. These keys move the tra.ce point left or right along the plot, and in the table, the corresponding values are highlighted.
Setting up the table (Numeric view setup) Numeric view settings Aplets and their views Press to define any of the table settings. Use the Numeric Setup input form to configure the table. 1. Highlight the field to edit. Use the arrow keys to move from field to field.
Reset numeric settings Exploring the table of numbers NUM view menu keys Zoom within a table ZOOM options 2-18 To reset the default values for all table settings, press CLEAR The following table details the menu keys that you use to work with the table of numbers.
H I N T Automatic recalculation Building your own table of numbers Build a table Aplets and their views Option Meaning (Continued) Changes intervals for independent Trig variable to /24 radian or 7.5 degrees or 8 zero. Returns the display to the previous Un-zoom zoom.
You enter numbers into the X column Clear data “Build Your Own” menu keys 2-20 5. Enter the independent values in the left-hand column. Type in a number and press to enter them in order, because the can rearrange them. To insert a number between two others, use Press to erase the data from a table.
Example: plotting a circle Aplets and their views Plot the circle, x = 9. First rearrange it to read – To plot both the positive and negative y values, you need to define two equations as follows: – – 1. In the Function aplet, specify the functions. Select Function 2.
Page 62
5. Display the functions in numeric form. 2-22 Aplets and their views...
Function aplet About the Function aplet Getting started with the Function aplet Open the Function aplet Function aplet The Function aplet enables you to explore up to 10 real-valued, rectangular functions y in terms of x. For example Once you have defined a function you can: •...
Page 64
Define the expressions Set up the plot Plot the functions 2. There are 10 function definition fields on the Function aplet’s Symbolic view screen. They are labeled F1(X) to F0(X). Highlight the function definition field you want to use, and enter an expression. (You can press to delete an existing line, or clear all lines.) You can change the scales of the x and y axes, graph...
Page 65
Change the scale Trace a graph Function aplet 6. You can change the scale to see more or less of your graphs. In this example, choose Auto Scale. (See “VIEWS menu options” on page 2-14 for a description of Auto Scale). Select Auto Scale 7.
Page 66
Analyse graph with FCN functions To find a root of the quadratic function To find the intersection of the two functions 9. Display the Plot view menu. From the Plot view menu, you can use the functions on the FCN menu to find roots, intersections, slopes, and areas for a function defined in the Function aplet (and any Function-based aplets).
Page 67
To find the slope of the quadratic function To find the signed area of the two functions Function aplet 12.Choose the linear function whose intersection with the quadratic function you wish to find. The coordinates of the intersection point are displayed at the bottom of the screen.
Page 68
To find the extremum of the quadratic 15.Move the cursor to key. to accept using F2(x) = (x + 3) 16.Press other boundary for the integral. 17. Choose the end value for x. The cursor jumps to x = –2 on the linear function.
Page 69
H I N T Display the numeric view Set up the table Explore the table Function aplet The Root and Extremum functions return one value only even if the function has more than one root or extremum. The function finds the value closest to the position of the cursor.
Page 70
To navigate around a table To go directly to a value To access the zoom options To change font size To display the symbolic definition of a column 24. Move to X = –5.9. 6 times 25. Move directly to X = 10. 26.
Function aplet interactive analysis Access FCN variables Function aplet From the Plot view ( the FCN menu to find roots, intersections, slopes, and areas for a function defined in the Function aplet (and any Function-based aplets). See “FCN functions” on page 3- 10.
Page 72
FCN functions 3-10 The FCN functions are: Function Description Select Root to find the root of the Root current function nearest the cursor. If no root is found, but only an extremum, then the result is labeled EXTR: instead of ROOT:. (The root-finder is also used in the Solve aplet.
Page 73
Shading area Function aplet Function Description (Continued) Select Intersection to find the Intersection intersection of two graphs nearest the cursor. (You need to have at least two selected expressions in Symbolic view.) Displays the coordinate values and moves the cursor to the intersection. (Uses Solve function.) The resulting x- value is saved in a variable named ISECT.
Plotting a piecewise-defined function 3-12 Suppose you wanted to plot the following piecewise- defined function. 1 – 1 – x 1 – 1. Open the Function aplet. Select Function 2. Highlight the line you want to use, and enter the expression.
Parametric aplet About the Parametric aplet Getting started with the Parametric aplet Open the Parametric aplet Define the expressions Parametric aplet The Parametric aplet allows you to explore parametric equations. These are equations in which both x and y are defined as functions of t.
Page 76
Set angle measure Set up the plot Plot the expression 3. Set the angle measure to degrees. MODES Select Degrees 4. Display the graphing options. PLOT The Plot Setup input form has two fields not included in the Function aplet, TRNG and TSTEP. TRNG specifies the range of t values.
Page 77
Overlay plot Display the numbers Parametric aplet 8. Plot a triangle graph over the existing circle graph. PLOT Select Overlay Plot A triangle is displayed rather than a circle (without changing the equation) because the changed value of TSTEP ensures that points being plotted are 120 apart instead of nearly continuous.
Polar aplet Getting started with the Polar aplet Open the Polar aplet Define the expression Specify plot settings Plot the expression Polar aplet 1. Open the Polar aplet. Select Polar Like the Function aplet, the Polar aplet opens in the Symbolic view. 2.
Page 80
Explore the graph Display the numbers 5. Display the Plot view menu key labels. The Plot view options available are the same as those found in the Function aplet. See “Exploring the graph” on page 2-7 for further information. 6. Display the table of values for The Numeric view options available are the same as those...
Sequence aplet About the Sequence aplet Getting started with the Sequence aplet Open the Sequence aplet Sequence aplet The Sequence aplet allows you to explore sequences. You can define a sequence named, for example, U1: • in terms of n •...
Page 82
Define the expression Specify plot settings Plot the sequence 2. Define the Fibonacci sequence, in which each term (after the first two) is the sum of the preceding two terms: In the Symbolic view of the Sequence aplet, highlight the U (1) field and begin defining your sequence.
Page 83
Select Cobweb Display the table 6. Display the table of values for this example. Sequence aplet...
Solve aplet About the Solve aplet Solve aplet The Solve aplet solves an equation or an expression for its unknown variable. You define an equation or expression in the symbolic view, then supply values for all the variables except one in the numeric view. Solve works only with real numbers.
Getting started with the Solve aplet Open the Solve aplet Define the equation Enter known variables should be solved using matrices or graphs in the Function aplet. Suppose you want to find the acceleration needed to increase the speed of a car from 16.67 m/sec (60 kph) to 27.78 m/sec (100 kph) in a distance of 100 m.
Page 87
H I N T Solve the unknown variable Plot the equation Solve aplet 4. Enter the values for the known variables. 1 0 0 If the Decimal Mark setting in the Modes input form ) is set to Comma, use MODES 5.
Page 88
Solve aplet’s NUM view keys 6. Plot the equation for variable A. Select Auto Scale 7. Trace along the graph representing the left side of the equation until the cursor nears the intersection. 20 times Note the value of A displayed near the bottom left corner of the screen.
Use an initial guess H I N T Number format Solve aplet Meaning (Continued) Clears highlighted variable to zero or deletes current character in edit line, if edit line is active. Resets all variable values to zero or CLEAR clears the edit line, if cursor is in edit line.
(for positive values) or maximum (for negative values). This point may or may not be a root. Or: Solve stopped searching at 9.99999999999E499, the largest number the calculator can represent. in the to clear the Solve aplet...
H I N T The Root-Finder at work Plotting to find guesses Solve aplet If Solve could not find a solution, you will see one of the following two messages. Message Condition Bad Guess(es) The initial guess lies outside the domain of the equation.
Page 92
where X is distance, V is initial velocity, T is time, and A is acceleration. This is actually two equations, Y = X and Y = V T + (AT ) / 2. Since this equation is quadratic for T, there can be both a positive and a negative solution.
Page 93
Solve aplet 5. Move the cursor near the positive (right-side) intersection. This cursor value will be an initial guess for T. Press until the cursor is at the intersection. The two points of intersection show that there are two solutions for this equation. However, only positive values for X make sense, so we want to find the solution for the intersection on the right side of the y-axis.
All home variables (other than those for aplet settings, like Xmin and Ytick) are global, which means they are shared throughout the different aplets of the calculator. A value that is assigned to a home variable anywhere remains with that variable wherever its name is used.
Statistics aplet About the Statistics aplet Getting started with the Statistics aplet Statistics aplet The Statistics aplet can store up to ten data sets at one time. It can perform one-variable or two-variable statistical analysis of one or more sets of data. The Statistics aplet starts with the Numeric view which is used to enter data.
Page 96
Open the Statistics aplet Enter data 1. Open the Statistics aplet and clear existing data by pressing Select Statistics The Statistics aplet starts in the Numerical view. At any time the Statistics aplet is configured for only one of two types of statistical explorations: one- variable ( ) or two-variable ( menu key label in the Numeric view toggles between...
Page 97
Choose fit and data columns Explore statistics Statistics aplet 4. Select a fit in the Symbolic setup view. SETUP SYMB Select Linear You can create up to five explorations of two-variable data, named S1 to S5. In this example, we will create just one: S1.
Page 98
Setup plot Plot the graph Draw the regression curve Display the equation for best linear fit 8. Change the plotting range to ensure all the data points are plotted (and select a different point mark, if you wish). SETUP PLOT 4000 9.
Page 99
Predict values Statistics aplet 13.To find the predicted sales figure if advertising were to go up to 6 minutes: S (to highlight Stat-Two) (to highlight PREDY) 14.Return to the Plot view. 15.Jump to the indicated point on the regression line. Observe the predicted y-value in the left bottom corner of the...
Entering and editing statistical data H I N T Statistics aplet’s NUM view keys The Numeric view ( Statistics aplet. Each column represents a variable named C0 to C9. After entering the data, you must define the data set in the Symbolic view ( A data column must have at least four data points to provide valid two-variable statistics, or two data points for one-variable statistics.
Page 101
Example Statistics aplet Meaning (Continued) Deletes the currently highlighted value. Clears the current column or all CLEAR columns of data. Pregss then select the current column or all columns option, and press Moves to the first or last row, or first or last column.
Page 102
3. Find the mean of the sample. Ensure the menu key label reads . Press to see the statistics calculated from the sample data in C1. Note that the title of the column of statistics is H1. There are 5 data set definitions available for one-variable statistics: H1–H5.
Page 103
Statistics aplet Meaning (Continued) Displays the current variable expression in standard mathematical form. Press done. Evaluates the variables in the highlighted column (C1, etc.) expression. Displays the menu for entering variable names or contents of variables. Displays the menu for entering math operations.
Page 104
Save data 8-10 5. Move the highlight bar into the right column of the H1 definition and replace the frequency value of 1 with the name C2. 6. Return to the numeric view. 7. Enter the frequency data shown in the above table. 8.
Page 105
Edit a data set Delete data Insert data Sort data values Statistics aplet In the Numeric view of the Statistics aplet, highlight the data value to change. Type a new value and press , or press line for modification. Press value on the edit line.
Defining a regression model Angle Setting To choose the fit Fit models 8-12 The Symbolic view includes an expression (Fit1 through Fit5) that defines the regression model, or “fit”, to use for the regression analysis of each two-variable data set. There are three ways to select a regression model: •...
To define your own fit Computed statistics One-variable Statistics aplet Fit model Meaning (Continued) Fits to a quadratic curve, Quadratic y = ax points. Fits to a cubic curve, Cubic y = ax four points. Fits to a logistic curve, Logistic where L is the saturation value for growth.
Page 108
Two-variable 8-14 Statistic Definition (Continued) Mean value of data set. MEAN Population variance of data set. PVAR Sample variance of data set. SVAR Population standard deviation of PSDEV data set. Sample standard deviation of data SSDEV set. Minimum data value in data set. First quartile: median of values to left of median.
Plotting To plot statistical data Statistics aplet Statistic Definition (Continued) Sum of y Sum of each xy. Sample covariance of independent SCOV and dependent data columns. Population covariance of PCOV independent and dependent data columns Correlation coefficient of the CORR independent and dependent data columns for a linear fit only (regardless of the Fit chosen).
Plot types Histogram Box and Whisker Plot Scatter Plot 8-16 3. For any plot, but especially for a histogram, adjust the plotting scale and range in the Plot Setup view. If you find histogram bars too fat or too thin, you can adjust them by adjusting the HWIDTH setting.
Fitting a curve to 2VAR data Correlation coefficient Relative Error Statistics aplet To connect the data points as they are plotted, checkmark CONNECT in the second page of the Plot Setup. This is not a regression curve. In the Plot view, press checked two-variable data set(s).
H I N T Setting up the plot (Plot setup view) Plot type (1VAR) Histogram width Histogram range Plotting mark (2VAR) Connected points (2VAR) Trouble-shooting a plot 8-18 In order to access the CORR and RELERR variables after you plot a set of statistics, you must press the numeric view and then correlation values.
Exploring the graph Statistics aplet’s PLOT view keys Statistics aplet • The correct view). • The correct fit (regression model), if the data set is two-variable. • Only the data sets to compute or plot are checkmarked (Symbolic view). • The correct plotting range.
Calculating predicted values Find predicted values 8-20 Meaning (Continued) Turns fit mode on or off. Turning on draws a curve to fit the data points according to the current regression model. (2var Enables you to specify a value on the statistics only) line of best fit to jump to or a data point number to jump to.
Page 115
You can type PREDX and PREDY into the edit line, or you can copy these function names from the MATH menu under the Stat-Two category. H I N T In cases where more than one fit curve is displayed, the PREDY function uses the most recently calculated curve.
It is useful for gaining an understanding of what the test does, and for demonstrating the test. The calculator’s on-line help provides a description of what the example data represents. This example describes the Inference aplet’s options and functionality by stepping you through an example using the example data for the Z-Test on 1 mean.
Page 118
Inference aplet’s SYMB view keys The table below summarizes the options available in Symbolic view. Hypothesis Confidence Intervals Tests Z: 1 , the Z-Test Z-Int: 1 , the confidence on 1 mean interval for 1 mean, based on the Normal distribution –...
Page 119
Select the inferential method Enter data Inference aplet 2. Select the Hypothesis Test inferential method. Select HYPOTH TEST 3. Define the type of test. Z–Test: 1 4. Select an alternative hypothesis. 5. Enter the sample statistics and population parameters. setup-NUM The table below lists the fields in this view for our current Z-Test: 1 example.
Display on-line help Display test results in numeric format Plot test results Importing sample statistics from the Statistics aplet By default, each field already contains a value. These values constitute the example database and are explained in the 6. To display the on-line help, press 7.
Page 121
Statistics aplet Enter data H I N T Calculate statistics Inference aplet A calculator produces the following 6 random numbers: 0.529, 0.295, 0.952, 0.259, 0.925, and 0.592 1. Open the Statistics aplet and reset the current settings. Select Statistics The Statistics aplet opens in the Numeric view.
Page 122
Open Inference aplet Select inference method and type Set up the interval calculation 6. Open the Inference aplet and clear current settings. Select Inference 7. Select an inference method. Select CONF INTERVAL 8. Select a distribution statistic type. Select T-Int: 1 9.
Page 123
Import the data Display Numeric view Display Plot view Inference aplet 10.Import the data from the Statistics aplet. Note: The data from C1 is displayed by default. Note: Press to see the statistics before importing them into the Numeric Setup view. Also, if there is more than one aplet based on the Statistics aplet, you are prompted to choose one.
You use hypothesis tests to test the validity of hypotheses that relate to the statistical parameters of one or two populations. The tests are based on statistics of samples of the populations. The hp 39g+ hypothesis tests use the Normal Z-distribution or Student’s t-distribution to calculate probabilities. Z-Test: 1...
Results Two-Sample Z-Test Menu name Inputs Inference aplet The results are: Result Description Test Z Z-test statistic. Prob Probability associated with the Z-Test statistic. Critical Z Boundary values of Z associated with the you supplied. Boundary values of Critical by the supplied.
Results One-Proportion Z-Test Menu name 9-10 Field name Definition Population 2 standard deviation. Significance level. The results are: Result Description Test Z Z-Test statistic. Prob Probability associated with the Z-Test statistic. Critical Z Boundary value of Z associated with the you supplied.
Inputs Results Two-Proportion Z-Test Menu name Inference aplet The inputs are: Field name Definition Number of successes in the sample. Sample size. Population proportion of successes. Significance level. The results are: Result Description Test P Proportion of successes in the sample. Test Z Z-Test statistic.
Inputs Results One-Sample T-Test Menu name 9-12 The inputs are: Field name Definition Sample 1 mean. Sample 2 mean. Sample 1 size. Sample 2 size. Significance level. The results are: Result Description Test 1– 2 Difference between the proportions of successes in the two samples.
Page 129
Inputs Results Inference aplet The inputs are: Field name Definition Sample mean. Sample standard deviation. Sample size. Hypothetical population mean. Significance level. The results are: Result Description Test T T-Test statistic. Prob Probability associated with the T-Test statistic. Critical T Boundary value of T associated with the supplied.
Two-Sample T-Test Menu name Inputs 9-14 T-Test: 1 – 2 The Two-sample T-Test is used when the population standard deviation is not known. On the basis of statistics from two samples, each sample from a different population, this test measures the strength of the evidence for a selected hypothesis against the null hypothesis.
Critical T Boundary values of T associated with level that you supplied. The confidence interval calculations that the hp 39g+ can perform are based on the Normal Z-distribution or Student’s t-distribution. Z-INT: This option uses the Normal Z-distribution to calculate a confidence interval for m, the true mean of a population, when the true population standard deviation, s, is known.
Results Two-Sample Z-Interval Menu name Inputs Results 9-16 The results are: Result Description Critical Z Critical value for Z. Lower bound for . Upper bound for . Z-INT: – This option uses the Normal Z-distribution to calculate a confidence interval for the difference between the means of two populations, –...
One-Proportion Z-Interval Menu name Inputs Results Two-Proportion Z-Interval Menu name Inputs Inference aplet Z-INT: 1 This option uses the Normal Z-distribution to calculate a confidence interval for the proportion of successes in a population for the case in which a sample of size, n, has a number of successes, x.
Results One-Sample T-Interval Menu name Inputs 9-18 Field Definition (Continued) name Sample 1 size. Sample 2 size. Confidence level. The results are: Result Description Critical Z Critical value for Z. Lower bound for the difference between the proportions of successes. Upper bound for the difference between the proportions of successes.
Results Two-Sample T-Interval Menu name Inputs Inference aplet The results are: Result Description Critical T Critical value for T. Lower bound for . Upper bound for . T-INT: 1 – 2 This option uses the Student’s t-distribution to calculate a confidence interval for the difference between the means of two populations, 1 –...
Page 136
Results 9-20 The results are: Result Description Critical T Critical value for T. Lower bound for 1 – 2 . Upper bound for 1 – 2 . Inference aplet...
Background Using the Finance Solver The Finance Solver, or Finance aplet, is available by using the APLET key in your calculator. Use the up and down arrow keys to select the Finance aplet. Your screen should look as follows: Press the key or the activate the aplet.
Page 138
10-2 Financial calculations involving compound interest include savings accounts, mortgages, pension funds, leases, and annuities. Time Value of Money (TVM) calculations, as the name implies, make use of the notion that a dollar today will be worth more than a dollar sometime in the future. A dollar today can be invested at a certain interest rate and generate a return that the same dollar in the future cannot.
Page 139
Using the Finance Solver modes: Begin mode and End mode. The following cash flow diagram shows lease payments at the beginning of each period. Capitalized value of lease The following cash flow diagram shows deposits into an account at the end of each period. As these cash-flow diagrams imply, there are five TVM variables: The total number of compounding periods...
Page 140
Performing TVM calculations 10-4 The periodic payment amount. The payments are the same amount each period and the TVM calculation assumes that no payments are skipped. Payments can occur at the beginning or the end of each compounding period -- an option you control by setting the Payment mode to Beg or End.
Page 141
Example 1 - Loan calculations Using the Finance Solver Suppose you finance the purchase of a car with a 5-year loan at 5.5% annual interest, compounded monthly. The purchase price of the car is $19,500, and the down payment is $3,000. What are the required monthly payments? What is the largest loan you can afford if your maximum monthly payment is $300? Assume that the payments start at the end of the first period.
Page 142
Example 2 - Mortgage with balloon payment 10-6 Suppose you have taken out a 30-year, $150,000 house mortgage at 6.5% annual interest. You expect to sell the house in 10 years, repaying the loan in a balloon payment. Find the size of the balloon payment -- the value of the mortgage after 10 years of payment.
5. Press the soft menu key to amortize a batch of payments. The calculator will provide for you the amount applied to interest, to principal, and the remaining balance after this set of payments have been amortized.
Page 144
Example 4 - Amortization for home mortgage To amortize a series of future payments starting at payment 10-8 3. Press the soft menu key to amortize the new batch of payments. Repeat steps 1 through 3 as often as needed. For the results of Example 3, show the amortization of the next 10 years of the mortgage loan.
The MATH menu To select a function Using mathematical functions The hp 39g+ contains many math functions. The functions are grouped in categories. For example, the Matrix category contains functions for manipulating matrices. The Probability category (shown as Prob. on the MATH menu) contains functions for working with probability.
Function categories Math functions by category Syntax Functions common to keyboard and menus 11-2 2. The list of functions (on the right) applies to the currently highlighted category (on the left). Use to switch between the category list and the function list.
Keyboard functions Using mathematical functions For a description, see “COMB(5,2) returns 10. That is, there are ten different ways that five things can be combined two at a time.!” on page 11-12. For a description, see “ ” on ∑ page 11-10.
Page 148
ASIN ACOS 11-4 Exponential (antilogarithm). Also accepts complex numbers. 10^value Example 10^3 returns 1000 Common logarithm. Also accepts complex numbers. LOG(value) Example LOG(100) returns 2 Sine, cosine, tangent. Inputs and outputs depend on the current angle format (Degrees, Radians, or Grads). SIN(value) COS(value) TAN(value)
Page 149
ATAN Using mathematical functions –1 Arc tangent: tan x. Output range is from –90° to 90°, 2 /2 to /2, or –100 to 100 grads. Inputs and outputs depend on the current angle format. Also accepts complex numbers. ATAN(value) Example ATAN(1) returns 45 (Degrees mode).
Calculus functions ∫ 11-6 Takes the nth root of x. root NTHROOT value Example 3 NTHROOT 8 returns 2 The symbols for differentiation and integration are available directly form the keyboard— respectively—as well as from the MATH menu. Differentiates expression with respect to the variable of differentiation.
TAYLOR Complex number functions CONJ Using mathematical functions Calculates the nth order Taylor polynomial of expression at the point where the given variable = 0. TAYLOR (expression, variable, n) Example TAYLOR(1 + sin(s1) angle measure and Fraction number format (set in MODES) returns 1+s1^2-1/3*s1^4.
Hyperbolic trigonometry ACOSH ASINH ATANH COSH SINH 11-8 The hp 39g+ has an internal numeric representation for these constants. Natural logarithm base. Internally represented as 2.71828182846. 1 – Imaginary value for Maximum real number. Internally represented as 9.99999999999 x 10 MAXREAL Minimum real number.
TANH ALOG EXPM1 LNP1 List functions Loop functions ITERATE Using mathematical functions Hyperbolic tangent. TANH(value) Antilogarithm (exponential). This is more accurate than 10^x due to limitations of the power function. ALOG(value) Natural exponential. This is more accurate than to limitations of the power function. EXP(value) –...
RECURSE Matrix functions Polynomial functions POLYCOEF 11-10 Provides a method of defining a sequence without using the Symbolic view of the Sequence aplet. If used with | (“where”), RECURSE will step through the evaluation. RECURSE(sequencename, term Example RECURSE(U,U(N-1)*N,1,2) Stores a factorial-calculating function named U1. When you enter U1(5), for example, the function calculates 5! (120).
Page 155
POLYEVAL POLYFORM POLYROOT H I N T Using mathematical functions Polynomial evaluation. Evaluates a polynomial with the specified coefficients for the value of x. POLYEVAL([coefficients], value) Example For x –25x –26x+120: POLYEVAL([1,2,-25,-26,120],8) returns 3432. Polynomial form. Creates a polynomial in variable1 from expression.
RANDSEED function to seed different starting values before using RANDOM to produce the numbers. RANDOM The setting of Time will be different for each calculator, so using RANDSEED(Time) is guaranteed to produce a set of numbers which are as close to random as possible. You can set the seed using the command RANDSEED.
UTPF UTPN UTPT Real-number functions CEILING FLOOR Using mathematical functions Upper-Tail Snedecor’s F Probability given numerator degrees of freedom and denominator degrees of freedom (of the F distribution), evaluated at value. Returns the probability that a Snedecor's F random variable is greater than value.
Page 158
FNROOT FRAC MANT 11-14 Function root-finder (like the Solve aplet). Finds the value for the given variable at which expression most nearly evaluates to zero. Uses guess as initial estimate. FNROOT(expression, variable, guess) Example FNROOT(M*9.8/600-1,M,1) returns 61.2244897959. Fractional part. FRAC(value) Example FRAC (23.2) returns .2 Hours-minutes-seconds to decimal.
Page 159
%CHANGE %TOTAL RAD DEG Using mathematical functions Maximum. The greater of two values. MAX(value1, value2) Example MAX(210,25) returns 210 Minimum. The lesser of two values. MIN(value1, value2) Example MIN(210,25) returns 25 Modulo. The remainder of value1/value2. value1 MOD value2 Example 9 MOD 4 returns 1 x percent of y;...
ROUND SIGN TRUNCATE XPON Two-variable statistics 11-16 Rounds value to decimal places. Accepts complex numbers. ROUND(value, places) Round can also round to a number of significant digits as showed in example 2. Examples ROUND(7.8676,2) returns 7.68 ROUND (0.0036757,-3) returns 0.00368 Sign of value.
Symbolic functions equals ISOLATE LINEAR? QUAD Using mathematical functions The symbolic functions are used for symbolic manipulations of expressions. The variables can be formal or numeric, but the result is usually in symbolic form (not a number). You will find the symbols for the symbolic functions = and | (where) in the CHARS menu ) as well as the MATH menu.
QUOTE where Test functions 11-18 Encloses an expression that should not be evaluated numerically. QUOTE(expression) Examples QUOTE(SIN(45)) 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 expression X^3+2*X into F1(X) in the Function aplet.
IFTE Trigonometry functions ACOT ACSC ASEC Using mathematical functions Greater than or equal to. Returns 1 if true, 0 if false. value1 value2 Compares value1 and value2. Returns 1 if they are both non-zero, otherwise returns 0. value1 AND value2 If expression is true, do the trueclause;...
To perform symbolic calculations, for example symbolic differentiations and integrations, you need to use formal names. The hp 39g+ has six formal names available for use in symbolic calculations. These are S0 to S5. When you perform a calculation that contains a formal name, the hp 39g+ does not carry out any substitutions.
See “To find derivatives in the Function aplet’s Symbolic view” on page 11-22 for an example. The hp 39g+ can perform symbolic differentiation on some functions. There are two ways of using the hp 39g+ to find derivatives. •...
Page 166
2. Define F2(X) as the derivative of F(1). 3. Select F2(X) and evaluate it. 4. Press to display the result. Note: Use the arrow keys to view the entire function. You could also just define F1 x hp 39g hp 39g Using mathematical functions...
Page 167
This result is derived from substituting X=S1 and X=0 into the original expression found in step 1. However, substituting X=0 will not always evaluate to zero and may result in an unwanted constant. ∫ To see this, consider: hp 39g ---- - ...
Page 168
The ‘extra’ constant of 6.4 results from the substitution of into (x – 2) /5, and should be disregarded if an indefinite integral is required. 11-24 Using mathematical functions...
The calculator uses this memory to store variables, perform computations, and store history. A variable is an object that you create in memory to hold data. The hp 39g+ has two types of variables, home variables and aplet variables. •...
Storing and recalling variables Numeric Precision To store a value To store the results of a calculation 12-2 You can store numbers or expressions from a previous input or result into variables. A number stored in a variable is always stored as a 12- digit mantissa with a 3-digit exponent.
Page 171
The results of a calculation can also be stored directly to a variable. For example: To recall a variable’s value, type the name of the variable and press You can use variables in calculations. The calculator substitutes the variable’s value in the calculation: 12-3...
12-4 You use the VARS menu to access all variables in the calculator. The VARS menu is organised by category. For each variable category in the left column, there is a list of variables in the right column. You select a variable category and then select a variable in the category.
Page 173
Example Variables and memory management 5. Choose whether to place the variable name or the variable value on the command line. – Press to indicate that you want the variable’s contents to appear on the command line. – Press to indicate that you want the variable’s name to appear on the command line.
Page 174
12-6 4. Enter data for L2. 5. Press to access HOME. 6. Open the variable menu and select L1. 7. Copy it to the command line. Note: Because the option is highlighted, the variable’s name, rather than its contents, is copied to the command line.
Page 175
Home variables Variables and memory management It is not possible to store data of one type in a variable of another type. For example, you use the Matrix catalog to create matrices. You can create up to ten matrices, and you can store these in variables M0 to M9.
Page 176
Aplet variables To access an aplet variable 12-8 Aplet variables store values that are unique to a particular aplet. These include symbolic expressions and equations (see below), settings for the Plot and Numeric views, and the results of some calculations such as roots and intersections.
You can use the Memory Manager to determine the amount of available memory on the calculator. You can also use Memory Manager to organize memory. For example, if the available memory is low, you can use the Memory Manager to determine which aplets or variables consume large amounts of memory.
Matrices Introduction Vectors Matrices Matrix Variables Matrices You can perform matrix calculations in HOME and in programs. The matrix and each row of a matrix appear in brackets, and the elements and rows are separated by commas. For example, the following matrix: is displayed in the history as: [[1,2,3],[4,5,6]] (If the Decimal Mark mode is set to Comma, then separate...
Prompts for a matrix type, then opens an empty matrix with the highlighted name. Transmits the highlighted matrix to another hp 39g+ or a disk drive. See “Sending and receiving aplets” on page 17-4. Receives a matrix from another hp 39g+ or a disk drive. See “Sending and receiving aplets”...
Page 181
To create a matrix in the Matrix Catalog Matrices 1. Press to open the Matrix Catalog. The MATRIX Matrix catalog lists the 10 available matrix variables, M0 to M9. 2. Highlight the matrix variable name you want to use and press 3.
3. You can send matrices between calculators just as you can send aplets, programs, lists, and notes. 1. Align the hp 39g+ calculators’ infrared ports. 2. Open the Matrix catalogs on both calculators. 3. Highlight the matrix to send.
Page 183
To display a matrix To display one element To create a matrix in HOME Matrices Meaning (Continued) Moves to the first row, last row, first column, or last column respectively. • In the Matrix catalog ( matrix name and press •...
To store one element Matrix arithmetic Example 13-6 In HOME, enter, value For example, to change the element in the first row and second column of M5 to 728, then display the resulting matrix: An attempt to store an element to a row or column beyond the size of the matrix results in an error message.
Page 185
To multiply and divide by a scalar To multiply two matrices To divide by a square matrix Matrices 3. Add the matrices that you created. For division by a scalar, enter the matrix first, then the operator, then the scalar. For multiplication, the order of the operands does not matter.
To invert a matrix To negate each element Solving systems of linear equations Example 13-8 To divide the two matrices M1 and M2 that you created for the previous example, press the following keys: You can invert a square matrix in HOME by typing the matrix (or its variable name) and pressing .
Matrix functions and commands About functions Matrices 4. Create a new matrix. Select Real matrix 5. Enter the equation coefficients. In this example, the matrix you created is listed as 6. Return to HOME and enter the calculation to left-multiply the constants vector by the inverse of the coefficients matrix.
About commands Argument conventions Matrix functions COLNORM COND CROSS 13-10 • Functions always produce and display a result. They do not change any stored variables, such as a matrix variable. • Functions have arguments that are enclosed in parentheses and separated by commas; for example, CROSS(vector1,vector2).
Page 189
EIGENVAL EIGENVV IDENMAT INVERSE MAKEMAT Matrices Determinant of a square matrix. DET(matrix) Dot Product of two arrays, matrix1 matrix2. DOT(matrix1, matrix2) Displays the eigenvalues in vector form for matrix. EIGENVAL(matrix) Eigenvectors and Eigenvalues for a square matrix. Displays a list of two arrays. The first contains the eigenvectors and the second contains the eigenvalues.
Page 190
RANK ROWNORM RREF SCHUR SIZE SPECNORM SPECRAD 13-12 calculation for each element substitutes the current row number for I and the current column number for J. MAKEMAT(expression, rows, columns) Example MAKEMAT(0,3,3) returns a 3×3 zero matrix, [[0,0,0],[0,0,0],[0,0,0]]. QR Factorization. Factors an m×n matrix into three matrices: {[[m×m orthogonal]],[[m×n uppertrapezoidal]],[[n×n permutation]]}.
TRACE Examples Identity Matrix Transposing a Matrix Matrices Singular Value Decomposition. Factors an m × n matrix into two matrices and a vector: {[[m × m square orthogonal]],[[n × n square orthogonal]], [real]}. SVD(matrix) Singular Values. Returns a vector containing the singular values of matrix.
Page 192
Reduced-Row Echelon Form 13-14 The following set of equations can be written as the augmented matrix 1 2 – 3 14 1 – 3 – 4 2 – 2 14 which can then stored as a real matrix in any matrix variable.
Lists Create a list in the List Catalog Lists You can do list operations in HOME and in programs. A list consists of comma-separated real or complex numbers, expressions, or matrices, all enclosed in braces. A list may, for example, contain a sequence of real numbers such as {1,2,3}.
Page 194
Meaning Opens the highlighted list for editing. Transmits the highlighted list to another hp 39g+ or a PC. See “Sending and receiving aplets” on page 17-4 for further information. Receives a list from another hp 39g+ or a PC. See “Sending and receiving aplets”...
Page 195
List edit keys Create a list in HOME Lists When you press to create or change a list, the following keys are available to you: Meaning Copies the highlighted list item into the edit line. Inserts a new value before the highlighted item.
Displaying and editing lists To display a list To display one element To edit a list 14-4 • In the List catalog, highlight the list name and press • In HOME, enter the name of the list and press In HOME, enter listname(element#). For example, if L2 is {3,4,5,6}, then L2(2) 1.
Page 197
To insert an element in a list To store one element Lists 1. Open the List catalog. LIST 2. Press highlight the name of the list you want to edit (L1, etc.) and press to display the list contents. New elements are inserted above the highlighted position.
In the List catalog, press You can send lists to calculators or PCs just as you can aplets, programs, matrices, and notes. 1. Align the hp 39g+ calculators’ infrared ports. 2. Open the List catalogs on both calculators. 3. Highlight the list to send.
Page 199
CONCAT LIST Lists • If Decimal Mark in Modes is set to Comma, use periods to separate arguments. For example, CONCAT(L1.L2). Common operators like +, –, ×, and / can take lists as arguments. If there are two arguments and both are lists, then the lists must have the same length, since the calculation pairs the elements.
Page 200
MAKELIST LIST REVERSE 14-8 Calculates a sequence of elements for a new list. Evaluates expression with variable from begin to end values, taken at increment steps. MAKELIST(expression,variable,begin,end, increment) The MAKELIST function generates a series by automatically producing a list from the repeated evaluation of an expression.
SIZE LIST SORT Finding statistical values for list elements Example Lists Calculates the number of elements in a list. SIZE(list) Also works with matrices. Calculates the sum of all elements in list. LIST(list) Example LIST({2,3,4}) returns 9. Sorts elements in ascending order. SORT(list) To find values such as the mean, median, maximum, and minimum values of the elements in a list, use the Statistics...
Page 202
14-10 2. In HOME, store L1 into C1. You will then be able to see the list data in the Numeric view of the Statistics aplet. 3. Start the Statistics aplet, and select 1-variable mode (press , if necessary, to display Select Statistics Note: Your list values...
Aplet note view To write a note in Note view Notes and sketches The hp 39g+ has text and picture editors for entering notes and sketches. • Each aplet has its own independent Note view and Sketch view. Notes and sketches that you create in these views are associated with the aplet.
Page 204
Note edit keys 15-2 Meaning Space key for text entry. Displays next page of a multi-page note. Alpha-lock for letter entry. Lower-case alpha-lock for letter entry. Backspaces cursor and deletes character. Deletes current character. Starts a new line. Erases the entire note. CLEAR Menu for entering variable names, and contents of variables.
Aplet sketch view Sketch keys To draw a line Notes and sketches You can attach pictures to an aplet in its Sketch view ). Your work is automatically saved with the SKETCH aplet. Press any other view key or Sketch view Meaning Stores the specified portion of the current sketch to a graphics...
Page 206
To draw a box To draw a circle DRAW keys 15-4 1. In Sketch view, press where you want any corner of the box to be. 2. Press 3. Move the cursor to mark the opposite corner for the box. You can adjust the size of the box by moving the cursor.
Page 207
To label parts of a sketch To create a set of sketches To store into a graphics variable Notes and sketches 1. Press and type the text on the edit line. To lock the Alpha shift on, press (for lowercase). To make the label a smaller character size, turn off before pressing between small and large font size).
To import a graphics variable The notepad To create a note in the Notepad 15-6 You can copy the contents of a graphics variable into the Sketch view of an aplet. 1. Open the Sketch view of the aplet ( The graphic will be copied here.
Page 209
Opens the selected note for editing. Begins a new note, and asks for a name. Transmits the selected note to another hp 39g+ or PC. Receives a note being transmitted from another hp 39g+ or PC. Deletes the selected note.
Page 210
To import a note 15-8 You can import a note from the Notepad into an aplet’s Note view, and vice versa. Suppose you want to copy a note named “Assignments” from the Notepad into the Function Note view: 1. In the Function aplet, display the Note view NOTE 2.
• programming variables. More information on programming, including examples and special tools, can be found at HP’s calculators web site: http://www.hp.com/calculators An hp 39g+ program contains a sequence of numbers, mathematical expressions, and commands that execute automatically to perform a task.
HOME, or the last data you entered in an input form. (If you press from HOME without entering any data, the hp 39g+ runs the contents of Editline.) Before starting to work with programs, you should take a few minutes to become familiar with the Program catalog menu keys.
Page 213
Transmits the highlighted program to another hp 39g+ or to a disk drive. Receives the highlighted program from another hp 39g+ or from a disk drive. Runs the highlighted program. Moves to the beginning or end of the Program catalog.
4. Enter your program. When done, start any other activity. Your work is saved automatically. Until you become familiar with the hp 39g+ commands, the easiest way to enter commands is to select them from the Commands menu from the Program editor. You can also type in commands using alpha characters.
Page 215
Program Editor. The name of your program appears in the title bar of the display. You can use the following keys to edit your program. to highlight a command to access the commands in . The hp 39g+ opens the 16-5...
Page 216
Editing keys 16-6 The editing keys are: Meaning Inserts the editing point. Inserts space into text. Displays previous page of the program. Displays next page of the program. Moves up or down one line. Moves right or left one character. Alpha-lock for letter entry.
HOME. What you see will differ slightly depending on where you started the program. If you start the program from HOME, the hp 39g+ displays the contents of Ans (Home variable containing the last result), when the program has finished. If you start the program from the Program catalog, the hp39g+ returns you to the Program catalog when the program ends.
Page 218
Program catalogs on both calculators. Highlight the program to send, then press calculator and on the receiving calculator. You can also send programs to, and receive programs from, a remote storage device (aplet disk drive or computer). This takes place via a cable connection and requires an aplet disk drive or specialized software running on a PC (such as a connectivity kit).
Delete a program Delete all programs Delete the contents of a program Customizing an aplet Programming To delete a program: 1. Press to open the Program catalog. PROGRM 2. Highlight a program to delete, then press You can delete all programs at once. 1.
Aplet naming convention Example 16-10 4. Develop a program that uses the SETVIEWS command to modify the aplet’s VIEWS menu. The menu options provide links to associated programs. You can specify any other programs that you want transferred with the aplet. See “SETVIEWS” on page 16-14 for information on the command.
Page 221
Save the aplet Configuring the Setviews menu option programs Programming 1. Open the Function aplet and save it as “EXPERIMENT”. The new aplet appears in the Aplet library. Select Function EXPERIMENT 2. Create a program called EXP.ME1 with contents as shown. This program configures the plot ranges, then runs a program that allows...
Page 222
16-12 6. Open the Program catalog and create a program named “EXP.SV”. Include the following code in the program. Each entry line after the command SETVIEWS is a trio that consists of a VIEWS menu text line (a space indicates none), a program name, and a number that defines the view to go to after the program has run its course.
9. You can now return to the Aplet library and press to run your new aplet. This section describes the commands for programming with hp 39g+. You can enter these commands in your program by typing them or by accessing them from the Commands menu.
• All the programs that are called from the VIEWS menu are transferred when the aplet is transferred, for example to another calculator or to a PC. • As part of the VIEWS menu configuration, you can specify programs that you want transferred with the aplet, but are not called as menu options.
Page 225
Programming options use, or the program that defines the aplet’s VIEWS menu. • You can include a “Start” option in the VIEWS menu to specify a program that you want to run automatically when the aplet starts. This program typically sets up the aplet’s initial configuration. The START option on the menu is also useful for resetting the aplet.
Page 226
16-16 ProgramName ProgramName is the name of the program that runs when the corresponding menu entry is selected. All programs that are identified in the aplet’s SETVIEWS command are transferred when the aplet is transmitted. ViewNumber ViewNumber is the number of a view to start after the program finishes running.
UNCHECK Branch commands IF...THEN...END Programming View numbers The Function aplet views are numbered as follows: HOME Plot Symbolic Numeric Plot-Setup Symbolic-Setup Numeric-Setup Views Note Sketch view Aplet Catalog Unchecks (unselects) the corresponding function in the current aplet. For example, Uncheck 3 would uncheck F3 if the current aplet is Function.
Page 228
. Execution with the CASE structure continues until a true-clause is executed (or until all the test-clauses evaluate to false). Many conditions are automatically recognized by the hp 39g+ as error conditions and are automatically treated as errors in programs.
Xmin, Xmax, Ymin, and Ymax values. The following examples assume the hp 39g+ default settings with the Function aplet as the current aplet. Draws a circular arc, of given radians, whose centre is at (x,y) The arc is drawn from start_angle_measurement, and end_angle_measurement.
ERASE FREEZE LINE PIXOFF PIXON TLINE Graphic commands DISPLAY 16-20 Clears the display ERASE: Halts the program, freezing the current display. Execution resumes when any key is pressed. Draws a line from (x1, y1) to (x2, y2). LINE x1;y1;x2;y2: Turns off the pixel at the specified coordinates (x,y). PIXOFF x;y: Turns on the pixel at the specified coordinates (x,y).
Page 231
Creates a graphic from expression, using font_size, and stores the resulting graphic in graphicname. Font sizes are 1, 2, or 3. If the fontsize argument is 0, the hp 39g+ creates a graphic display like that created by the SHOW operation.
Creates a blank graphic with given width and height, and stores it in graphicname. ZEROGROB graphicname;width;height: Loop hp allow a program to execute a routine repeatedly. The hp 39g+ has three loop structures. The example programs below illustrate each of these structures incrementing the variable A from 1 to 12.
WHILE… REPEAT… FOR…TO…STEP ...END BREAK Matrix commands ADDCOL ADDROW Programming While ... Repeat ... End is a loop command that repeatedly evaluates test-clause and executes loop-clause sequence if the test is true. Because the test-clause is executed before the loop-clause, the loop-clause is not executed if the test is initially false.
Page 234
DELCOL DELROW EDITMAT RANDMAT REDIM REPLACE SCALE SCALEADD 16-24 Delete Column. Deletes the specified column from the specified matrix. DELCOL name;column_number: Delete Row. Deletes the specified row from the specified matrix. DELROW name;row_number: Starts the Matrix Editor and displays the specified matrix. If used in programming, returns to the program when user presses EDITMAT name:...
SWAPCOL name;column1;column2: Swap Rows. Exchanges row1 and row2 in the specified matrix. SWAPROW name;row1;row2: These commands print to an HP infrared printer, for example the HP 82240B printer. Prints the contents of the display. PRDISPLAY: Prints all objects in the history.
Page 236
CHOOSE DISP DISPTIME 16-26 Creates a choose box, which is a box containing a list of options from which the user chooses one. Each option is numbered, 1 through n. The result of the choose command is to store the number of the option chosen in a variable.
Page 237
EDITMAT FREEZE GETKEY INPUT Programming Examples DATE(sets the date to May 15, 2000). 5.152000 TIME (sets the time to 10:15 am). 10.1500 Matrix Editor. Opens the Matrix editor for the specified matrix. Returns to the program when user presses EDITMAT matrixname: The EDITMAT command can also be used to create matrices.
MSGBOX PROMPT WAIT Stat-One and Stat-Two commands 16-28 Example INPUT R; "Circular Area"; "Radius"; "Enter Number";1: Displays a message box containing textitem. A text item consists of any number of expressions and quoted strings of text. The expressions are evaluated and turned into strings of text.
Stat-One commands DO1VSTATS SETFREQ SETSAMPLE Stat-Two commands DO2VSTATS SETDEPEND SETINDEP Programming Calculates STATS using datasetname and stores the results in the corresponding variables: N , Tot , Mean , PVar , SVar , PSDev, SSDev, Min , Q1, Median, Q3, and Max .
Polar Solve Statistics 16-30 The hp 39g+ has both Home variables and Aplet variables. Home variables are used for real numbers, complex numbers, graphics, lists, and matrices. Home variables keep the same values in HOME and in aplets. Aplet variables are those whose values depend on the current aplet.
Page 241
Coord Function Parametric Polar Sequence Solve Statistics Extremum Function FastRes Function Solve Grid All Aplets Hmin/Hmax Statistics Programming Turns the coordinate-display mode in Plot view on or off. From Plot view, use the Menu mean key to toggle coordinate display on an off. In a program, type Coord—to turn coordinate display on (default).
Page 242
Hwidth Statistics Indep All Aplets InvCross All Aplets Isect Function Labels All Aplets 16-32 Sets the width of histogram bars. From Plot Setup in 1VAR stats set a value for Hwidth In a program, type Hwidth Defines the value of the independent variable used in tracing mode.
Page 243
Nmin / Nmax Sequence Recenter All Aplets Root Function S1mark–S5mark Statistics SeqPlot Sequence Programming Defines the minimum and maximum independent variable values. Appears as the NRNG fields in the Plot Setup input form. From Plot Setup, enter values for NRNG. In a program, type Nmin Nmax...
Page 244
Simult Function Parametric Polar Sequence Slope Function StatPlot Statistics Umin/Umax Polar Ustep Polar 16-34 Enables you to choose between simultaneous and sequential graphing of all selected expressions. From Plot Setup, check (or uncheck) _SIMULT In a program, type Simult—for simultaneous graphing. Simult—for sequential graphing.
Page 245
Tmin / Tmax Parametric Tracing All Aplets Tstep Parametric Xcross All Aplets Ycross All Aplets Programming Sets the minimum and maximum independent variable values. Appears as the TRNG field in the Plot Setup input form. From Plot Setup, enter values for TRNG. In a program, type Tmin Tmax...
Page 246
Xtick All Aplets Ytick All Aplets Xmin / Xmax All Aplets Ymin / Ymax All Aplets 16-36 Sets the distance between tick marks for the horizontal axis. From the Plot Setup input form, enter a value for Xtick. In a program, type Xtick where Sets the distance between tick marks for the vertical axis.
Xzoom All Aplets Yzoom All Aplets Symbolic-view variables Angle All Aplets F1...F9, F0 Function X1, Y1...X9,Y9 X0,Y0 Parametric Programming Sets the horizontal zoom factor. From Plot-ZOOM-Set Factors, enter the value for XZOOM. In a program, type XZOOM where Sets the vertical zoom factor. From Plot-ZOOM-Set Factors, enter the value for YZOOM.
Page 248
R1...R9, R0 Polar U1...U9, U0 Sequence E1...E9, E0 Solve S1fit...S5fit Statistics 16-38 Can contain any expression. Independent variable is . Example '2*SIN(2* )' R1( ) Can contain any expression. Independent variable is N. Example RECURSE (U,U(N-1)*N,1,2) Can contain any equation or expression. Independent variable is selected by highlighting it in Numeric View.
Numeric-view variables C1...C9, C0 Statistics Digits All Aplets Format All Aplets Programming The following aplet variables control the Numeric view. The value of the variable applies to the current aplet only. C0 through C9, for columns of data. Can contain lists. Enter data in the Numeric view In a program, type LIST Cn...
Page 250
NumCol All Aplets except Statistics aplet NumFont Function Parametric Polar Sequence Statistics NumIndep Function Parametric Polar Sequence NumRow All Aplets except Statistics aplet NumStart Function Parametric Polar Sequence 16-40 Except in the Solve aplet, the value of Format takes effect only after the current aplet is saved with a new name.
Page 251
NumStep Function Parametric Polar Sequence NumType Function Parametric Polar Sequence NumZoom Function Parametric Polar Sequence StatMode Statistics Programming Sets the step size (increment value) for an independent variable in Numeric view. From Num Setup, enter a value for NUMSTEP. In a program, type NumStep where Sets the table format.
Note variables NoteText All Aplets Sketch variables Page All Aplets PageNum All Aplets 16-42 The following aplet variable is available in Note view. Use NoteText to recall text previously entered in Note view. The following aplet variables are available in Sketch view.
Example Extending aplets Aplets are the application environments where you explore different classes of mathematical operations. You can extend the capability of the hp 39g+ in the following ways: • Create new aplets, based on existing aplets, with specific configurations such as angle measure, graphical or tabular settings, and annotations.
Page 254
17-2 1. Open the Solve aplet and save it under the new name. Solve T R I A N G L E S 2. Enter the four formulas: 3. Decide whether you want the aplet to operate in Degrees, Radians, or Grads. MODES Degrees 4.
Using a customized aplet Resetting an aplet Extending aplets To use the “Triangles” aplet, simply select the appropriate formula, change to the Numeric view and solve for the missing variable. Find the length of a ladder leaning against a vertical wall if it forms an angle of 35 extends 5 metres up the wall.
A convenient way to distribute or share problems in class and to turn in homework is to transmit (copy) aplets directly from one hp 39g+ to another. This takes place via the infrared port. You can also send aplets to, and receive aplets from, a remote storage device (aplet disk drive or computer).
2. Sending calculator: Open the Library, highlight the aplet to send, and press – You have two options: another hp 39g+ or a disk drive on a PC. Highlight your selection and press – If transmitting to a disk drive, you have the options of sending to the current (default) directory or to another directory.
Page 258
To sort the aplet list To delete an aplet 17-6 In the aplet library, press and press • Chronologically produces a chronological order based on the date an aplet was last used. (The last- used aplet appears first, and so on.) •...
(or periods in Comma mode), such as CROSS(matrix1,matrix2). HOME The basic starting point of the calculator. Go to HOME to do calculations. Library For aplet management: to start, save, reset, send and receive aplets.
Page 260
list A set of values separated by commas (periods if the Decimal Mark mode is set to Comma) and enclosed in braces. Lists are commonly used to enter statistical data and to evaluate a function with multiple values. Created and manipulated by the List editor and catalog.
Setup, Symbolic, Symbolic Setup, Sketch, Note, and special views like split screens. If the calculator “locks up” and seems to be stuck, you must reset it. This is much like resetting a PC. It cancels certain operations, restores certain conditions, and clears temporary memory locations.
If the calculator does not turn on Operating details Batteries If the hp 39g+ does not turn on follow the steps below until the calculator turns on. You may find that the calculator turns on before you have completed the procedure.
Page 263
To install the main batteries To install the backup battery Reference information a. Slide up the battery compartment cover as illustrated. b. Insert 3 new AAA(LR03) batteries into the main compartment. Make sure each battery is inserted in the indicated direction. a.
Variables Home variables The home variables are: Category Available name Complex Z1...Z9, Z0 Graphic G1...G9, G0 Library Function Parametric Polar Sequence Solve Statistics User-named List L1...L9, L0 Matrix M1...M9, M0 Modes Date HAngle HDigits HFormat Ierr Time Notepad User-named Program Editline User-named A...Z, θ...
MATH menu categories Math functions Reference information The math functions are: Category Available name Calculus ∫ TAYLOR Complex CONJ Constant Hyperb. ACOSH ASINH ATANH COSH SINH List CONCAT LIST MAKELIST LIST Loop ITERATE RECURSE MAXREAL MINREAL TANH ALOG EXPM1 LNP1 REVERSE SIZE LIST...
Page 272
R-14 Category Available name (Continued) Matrix COLNORM COND CROSS EIGENVAL EIGENVV IDENMAT INVERSE MAKEMAT Polynom. POLYCOEF POLYEVAL Prob. COMB PERM RANDOM Real CEILING DEG RAD FLOOR FNROOT FRAC MANT Stat-Two PREDX PREDY Symbolic ISOLATE LINEAR? RANK ROWNORM RREF SCHUR SIZE SPECNORM SPECRAD TRACE...
Program constants Reference information Category Available name (Continued) Tests Trig ACOT ACSC ASEC The program constants are: Category Available name Angle Degrees Grads Radians Format Standard Fixed SeqPlot Cobweb Stairstep S1...5fit Linear LogFit ExpFit Power StatMode Stat1Var Stat2Var StatPlot Hist BoxW IFTE Fraction...
Status messages Reference information Message Meaning Bad Argument Incorrect input for this Type operation. Bad Argument The value is out of range for this Value operation. Infinite Result Math exception, such as 1/0. Insufficient You must recover some memory Memory to continue operation.
Page 276
(OFF SCREEN) Function value, root, extremum, or intersection is not visible in the current screen. Receive Error Problem with data reception from another calculator. Re- send the data. Too Few The command requires more Arguments arguments than you supplied. Undefined Name The global variable named does not exist.
Replacement products may be either new or like-new. 2. HP warrants to you that HP software will not fail to execute its programming instructions after the date of purchase, for the period specified above, due to defects in material and workmanship when properly installed and used.
Page 278
8. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services . HP shall not be liable for technical or editorial errors or omissions contained herein.
Service Limiting Warranty Europe Country : Austria Belgium Denmark Eastern Europe countries Finland France Germany Greece Holland Italy Norway Portugal Spain Sweden Switzerland Turkey Czech Republic +420-5-41422523 South Africa Luxembourg Other European countries Asia Pacific Country : Australia Singapore Telephone numbers +43-1-3602771203 +32-2-7126219 +45-8-2332844...
Page 280
Telephone numbers 0-810-555-5520 Sao Paulo 3747-7799; ROTC 0-800-157751 Mx City 5258-9922; ROTC 01-800-472-6684 0800-4746-8368 800-360999 9-800-114726 0-800-10111 1-800-711-2884 1-800-999-5105 1-877-232-0589 0-800-011-0524 Telephone numbers 1800-HP INVENT (905) 206-4663 or 800- HP INVENT for the latest service Limiting Warranty...
Peripheral Devices Canada Japan Limiting Warranty This section contains information that shows how the hp 39g+ graphing calculator complies with regulations in certain regions. Any modifications to the calculator not expressly approved by Hewlett-Packard could void the authority to operate the 39g+ in these regions.
Page 282
Disposal of Waste Equipment by Users in Private Household in the European Union This symbol on the product or on its packaging indicates that this product must not be disposed of with your other household waste. Instead, it is your responsibility to dispose of your waste equipment by handing it over to a designated collection point for the...
Index absolute value 11-5 add 11-3 algebraic entry 1-19 alpha characters typing 1-6 alphabetical sorting 17-6 angle measure 1-10 in statistics 8-12 setting 1-12 animation 15-5 creating 15-5 annunciators 1-3 Ans (last answer) 1-24 antilogarithm 11-4 11-9 aplet attaching notes 17-4 clearing 17-3 copying 17-4 definition of R-1...
Page 284
chronological sorting 17-6 circle drawing 15-4 clearing aplet 17-3 characters 1-22 display 1-22 display history 1-25 edit line 1-22 lists 14-6 plot 2-7 cobweb graph 6-1 coefficients polynomial 11-10 columns changing position 16-25 combinations 11-12 commands aplet 16-14 branch 16-17 definition of R-1 drawing 16-19 graphic 16-20...
Page 285
definition of 11-6 in Function aplet 11-22 in Home 11-21 determinant square matrix 13-11 differentiation 11-6 display 16-20 adjusting contrast 1-2 annunciator line 1-2 capture 16-20 clearing 1-2 date and time 16-26 element 13-5 elements 14-4 engineering 1-11 fixed 1-11 fraction 1-11 history 1-22 line 1-23...
Page 286
gamma 11-12 intersection point 3-5 math menu R-13 slope 3-5 syntax 11-2 tracing 2-8 Function aplet 2-21 function variables area 16-30 axes 16-30 connect 16-30 fastres 16-31 grid 16-31 in menu map R-7 indep 16-32 isect 16-32 labels 16-33 Recenter 16-33 root 16-33 ycross 16-36 glossary R-1...
Page 287
i 11-8 implied multiplication 1-21 importing graphics 15-6 notes 15-8 increasing display contrast 1-2 indefinite integral using symbolic variables 11-23 independent values adding to table 2-19 independent variable defined for Tracing mode 16-32 inference confidence intervals 9-15 hypothesis tests 9-8 One-Proportion Z-Interval 9-17 One-Sample Z-Interval 9-15 One-Sample Z-Test 9-8...
Page 288
logarithmic fit 8-13 functions 11-3 logical operators AND 11-19 equals (logical test) 11-18 greater than 11-18 greater than or equal to 11-19 IFTE 11-19 less than 11-18 less than or equal to 11-18 NOT 11-19 not equal to 11-18 OR 11-19 XOR 11-19 logistic fit 8-13 loop commands...
Page 293
data structure 16-39 define one-variable sample 16-29 define two-variable data set’s de- pendent column 16-29 define two-variable data set’s in- dependent column 16-29 defining a fit 8-12 defining a regression model 8-12 deleting data 8-11 editing data 8-11 frequency 16-29 inserting data 8-11 plot type 8-18 plotting data 8-15...