Home

HP 39g Calculator

image

Contents

1. program Press EEH The HP 39G 40G NEW PROGRAM prompts you foraname sane E ENTER NAME FOR NEW PROGRAM Anz CANL 0K A program name can contain special characters such as a space However if you use special characters and then run the program by typing it in HOME you must enclose the program name in double quotes Don t use the symbol within your program name Type your program name then press H3 When you press Es the Program Editor opens Enter your program When done start any other activity Your work is saved automatically 15 4 Programming Enter commands Edit a program Until you become familiar with the HP 39G 40G commands the easiest way to enter commands is to use the Commands menu from the Program editor You can always type in commands using alpha characters 1 From the Program editor press SHIFT CMDS to open the Program Commands menu CMDS geen aunen annona 4E PROGRAM COMMANDS SERSA Aplet CHECK Branch SELECT Drawing SETYIEWS Graphic UHCHECK n a ANEL 2 On the left use y or a to highlight a command category then press gt to access the commands in the category Select the command that you want WWW ETT 4 2222 PROGRAM COMMANDS S Aplet ARC Branch ERASE Graphic FREEZE 3 Press BIS to paste the command into the program editor To enter functions more to come MYPROG PROGRAM 1 Press SHIFT PROGRM to
2. SETUP NUM Sanple wean The table below lists the fields in this view for our current Z Test 1 example Field name Definition uo Assumed population mean o Population standard deviation x Sample mean n Sample size a Alpha level for the test By default each field already contains a value These values constitute the example database and are explained in the feature of this aplet Display on line 5 Display the on line help help HELE Tests the null hypothesis that the population Hean az an assuned y valug uD agdinet the 6 To close the on line help P rnatave hypotheses i Exanple data press fs A sgt of 50 randon nunbers Frou D te i generated by a calculator has a hean oF 0 484368 The SS a ee Display test 7 Display the test results in numeric format results in NUM NF STAT Rimak VEH i E pare The test distribution value T a 345834 ormat i i critical 22 1 644854 and its associated e Ww daSado3 probability are displayed along with the critical value s of the test and the associated critical value s of the statistic Note You can access the on line help in Numeric view 9 4 Inference aplet Plot test 8 Display a graphic view of the test results results PLOT zr Horizontal axes are 1 644854 CRIT Z Test 2 3462054 z 461362 poena ECRI R presented for both the distribution variable and the test statistic A generic bell curve repre
3. CLEAR to clear all lines S882 FUNCTION SYMEOLIC VIEH WFLICKISCR 2 ACHE 15 WFece K2 K gt 1 AND WES C4 8o CRE 1 line or SHIFT O8R208 0 SHIFT CHARS lt 10 A 0 SHIFT CHARS gt 1 SHIFT AND SHIFT CHARS lt 1 ENTER 4080 O SHIFT CHARS gt 1 0 Note You can use the menu key to assist in the entry of equations It has the same effect as pressing X T 0 F1 UNDEFINED RIET Function aplet Parametric aplet About the 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 They take the forms x f t and y g t Getting started with the Parametric aplet The following example uses the parametric equations x t 3sint y t 3cost Note This example will produce a circle For this example to work the angle measure must be set to degrees Open the 1 Open the Parametric aplet Parametric cay pee APLET LIBRARY S32 EERDa aplet Parametric Funct ion BKB Inferential SKB Parametric BKB Polar BEB Sequence BKB Y RESET SORT SEND RECN Define the 2 Enter each equation expressions p 2 Si 1 Ee PARAMETRIC SYMBOLIC VIEH Sa 3 AOKO T ENTER Parametric aplet 4 1 Set angle 3 Set the angle measure to degrees measure SHIFT M
4. VIEW n mA 2var statistics only az FEU Erases the plot Offers additional pre defined views for splitting the screen overlaying plots and autoscaling the axes Moves cursor to far left or far right Displays ZOOM menu Turns trace mode on off The white box appears next to the option when Trace mode is active Turns fit mode on off Turning on draws a curve to fit the data points according to the current regression model Enables you to specify a value on the line of best fit to jump to or a data point number to jump to Displays the equation of the regression curve Hides and displays the menu key labels When the labels are hidden any menu key displays the x y coordinates Pressing redisplays the menu labels 8 20 Statistics aplet Calculating predicted values Find predicted values HINT The functions PREDX and PRI EDY estimate predict values for X or Y given a hypothetical value for the other The estimation is made based on the curve that has been calculated to fit the data according to the specified fit In Plot view draw the regression curve for the data set 2 Press vY to move to the regression curve Press and enter the value of X The cursor jumps to the desired point on curve and the coordinate display shows X and the predicted value of Y In HOME Enter PREDX y value to find the
5. 88 Gil 90 BTS 89 HH 65 Ha 70 H3 3 Return to the List Catalog to create L2 SHIFT JLIST v to select L2 EDIT 1 2 90 3 89 4 65 5 78 7 peor ins U LIST CATALOG S88 GEES a K E E L4 Size LS Size ls a Variables and memory management Enter data for L2 55 H3 48 H3 86 Ha 90 Gf 77 HH Press HOME to access HOME Open the variable menu and select L1 VARS YJ YJ Oy amp HOM s APLET NAM s VALUE CANCL OK Copy it to the command line Note Because the EVIE option is highlighted the variable s name rather than its contents is copied to the command line Li SS ES a EEE Insert the operator and select the L2 variable from the List variables om MMMBwss Store the answer in the List catalog L3 variable EEETS ALPHA L3 ENTER Note You can also type Li L ES E E E E Li LekL3 145 135 175 155 1473 ET a E E list names directly from the keyboard Variables and memory management Home It is not possible to store data of one type in a variable of variables 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 MO to M9 You cannot store matrices in variables other than MO to M9 Category Available names Complex Graphic Library
6. NOTE Simultaneously press ON and or to increase or decrease the contrast e Press CANCEL to clear the edit line e Press SHIFT CLEAR to clear the edit line and the display history L Title History 18 E Edit line J789 Menu ke EEN abels y Menu key or soft key labels The labels for the menu keys current meanings is the label for the first menu key in this picture Press E847 means to press the first menu key that is the leftmost top row key on the calculator keyboard Edit line The line of current entry History The HOME display HOME shows up to four lines of history the most recent input and output Older lines scroll off the top of the display but are retained in memory Title The name of the current aplet is displayed at the top of the HOME view RAD GRD DEG specify whether Radians Grads or Degrees angle mode is set for HOME The v and a symbols indicate whether there is more history in the HOME display Press the y and 4 to scroll in the HOME display The HP 40G is packaged with a computerized algebra system CAS Press to access the computerized algebra system This User s Guide contains images from the HP39G and do not display the menu key label 1 2 Getting started Annunciators Annunciators are symbols that appear above the title bar and give you important status information Annunciator Description Shift in effect for n
7. Prob Probability associated with the T Test statistic Critical T Boundary values of T associated with the amp level that you supplied Inference aplet Confidence intervals The confidence interval calculations that the HP 39G 40G can perform are based on the Normal Z distribution or Student s t distribution One Sample Z Interval Menu name Z INT 1u This option uses the Normal Z distribution to calculate a confidence interval for u the true mean of a population when the true population standard deviation is known Inputs The inputs are Field name Definition x Sample mean oO Population standard deviation n Sample size C Confidence level Results The results are Result Description Critical Z Critical value for Z u min Lower bound for u u max Upper bound for u 9 16 Inference aplet Two Sample Z Interval Menu name Z INT ul u2 This option uses the Normal Z distribution to calculate a confidence interval for the difference between the means of two populations u4 H2 when the population standard deviations 6 and 6 are known Inputs The inputs are Field name Definition x1 Sample mean x2 Sample 2 mean nl Sample 1 size n2 Sample 2 size ol Population 1 standard deviation 02 Population 2 standard deviation C Confidence level Results The results are Result Description Critical Z Critical val
8. Solve Equations in one or more real valued variables Example x 1 x x 2 Statistics 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 40G is supplied with two teaching aplets Quad Explorer and Trig Explorer You cannot modify configuration settings for these aplets 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 40G using the separately supplied Connectivity Kit Getting started Quad Explorer aplet HINT The Quad Explorer aplet is used to investigate the behaviour of y a x h v as the values of a h and v change both by manipulating the equation and seeing the change in the graph and by manipulating the graph and seeing the change in the equation More detailed documentation and an accompanying student work sheet can be found at HP s web site When first started the aplet is in HAZE mode in which the arrow keys the and keys and the key are used to change the shape of the graph This changing shape is reflected in the equation displayed at the top right corner of the screen while the original graph is retained for comparison In this mode the graph controls the equation
9. on page R 9 Parametric X0 YO to X9 Y9 Symbolic view See Parametric aplet variables on page R 10 Polar RO to R9 Symbolic view See Polar aplet variables on page R 11 Sequence U0 to U9 Symbolic view See Sequence aplet variables on page R 12 Solve EO to E9 Symbolic view See Solve aplet variables on page R 13 Statistics CO to C9 Numeric view See Statistics aplet variables on page R 14 1 Open the aplet that contains the variable you want to recall 2 Press to display the VARS menu Use the arrow keys to select a variable category in the left column then press gt to access the variables in the right column 4 Use the arrow keys to select a variable in the right column 5 To copy the name of the variable onto the edit line press fH CMA is the default setting 6 To copy the value of the variable into the edit line press and press Ymax Ez 2 2 ato o o Variables and memory management Memory Manager 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 You can make deletions to free up memory Example Start the Memory Manager A list of variable categories is displayed SH
10. 6x 10 3x10 O 4 SHIFT EEX 013 9 06 SHIFT Eex 230 3 SHIFT ZEX 55 ENTER Calculate 4 E 13 6 E237 66685 S E Implied multiplication takes place when two operands appear with no operator in between If you enter AB for example the result is A B However for clarity it is better to include the multiplication sign where you expect multiplication in an expression It is clearest to enter AB as A B Implied multiplication will not always work as expected For example entering A B 4 will not give A B 4 Instead an error message is displayed Invalid User Function This is because the calculator interprets A B 4 as meaning evaluate function A at the value B 4 and function A does not exist When in doubt insert the sign manually Getting started Parentheses Algebraic precedence order of evaluation Largest and smallest numbers You need to use parentheses to enclose arguments for functions such as SIN 45 You can omit the final parenthesis at the end of an edit line The calculator inserts it automatically Parentheses are also important in specifying the order of operation Without parentheses the HP 39G 40G calculates according to the order of algebraic precedence the next topic Following are some examples using parentheses Entering Calculates SIN 45 SHIFT x sin 45 7 SN
11. ASIN value Example ASIN 1 returns 90 Degrees mode Arc cosine cos x Output range is from 0 to 180 0 to 7 or 0 to 200 grads Inputs and outputs depend on the current angle format Also accepts complex numbers Output will be complex for values outside the normal COS domain of lsx lt l ACOS value Example ACOS 1 returns 0 Degrees mode Arc tangent tan ly Output range is from 90 to 90 27 2 to 1 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 Square Also accepts complex numbers value Example 182 returns 324 Square root Also accepts complex numbers Vvalue Example 324 returns 18 Negation Also accepts complex numbers value Example 1 2 returns 1 2 Using mathematical functions Power x raised to y Also accepts complex numbers value power Example 2 8 returns 256 SHIFT JABS Absolute value For a complex number this is ax y ABS value ABS x y Example ABS 1 returns 1 ABS 1 2 returns 2 2360679775 aye Takes the nth root of x root NIHROOT value Example 3 NTHROOT 8 returns 2 10 6 Using mathematical functions Calculus functions TAYLOR The symbols for differentiation and integration are available directly form the keyboard d dx and J respectively as well as from the MATH m
12. GES Uici i LEH Uic2i 1 Note You can use the IN Gaii N 23 E GES and ES menu CE N OUI CANEL keys to assist in the entry of equations S SEQUENCE SYMEOLIC VIEH Bee ULCL 1 vUt 29 1 wt COULD Ch EE ee ZHOH In Plot Setup first set the SEQPLOT option to settings Stairstep Reset the default plot settings by clearing the Plot Setup view A Stairsteps graph plots n on the horizontal axis and U on the vertical axis A Cobweb graph plots U 1 on the horizontal axis and U on the vertical axis SHIFT SETUP PLOT SEQUENCE PLOT SETUP SHIFT CLEAR SEQPLOT Stairstep NENG 1 2 wW s8 HENG 2 3 gt 8 vina FE 10 6 ENTER MINIMUM VERTICAL VALUE 6 2 Sequence aplet Plot the sequence Display the table 6 Plot the Fibonacci sequence In Plot Setup set the S1 SETUP PLOT HE Select Cobweb Her Fo Hel ULIN 1 EQPLOT option to Cobweb Hel ULiN 1 MENU Display the table of numeric values for this example NUM Sequence aplet 6 3 Solve aplet About the 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 Note the differences between an equation and an expression e An equation co
13. transposing 12 13 variables 12 1 matrix functions 12 10 COLNORM 12 10 COND 12 10 CROSS 12 10 DET 12 10 DOT 12 10 EIGENVAL 12 11 EIGENVV 12 11 IDENMAT 12 11 INVERSE 12 11 LQ 12 11 LSQ 12 11 LU 12 11 MAKEMAT 12 11 QR 12 12 RANK 12 12 ROWNORM 12 12 RREF 12 12 SCHUR 12 12 SIZE 12 12 SPECNORM 12 12 SPECRAD 12 12 maximum real number 1 20 10 9 memory R 19 clearing all R 5 organizing 11 9 out of R 20 saving 1 24 16 1 viewing 11 1 menu lists searching 1 8 minimum real number 10 9 Modes angle measure 1 9 decimal mark 1 10 number format 1 10 multiple solutions plotting to find 7 8 multiplication 10 4 implied 1 19 N name conflict R 19 naming programs 15 4 natural exponential 10 4 10 10 natural log plus 1 10 10 natural logarithm 10 4 negation 10 5 negative numbers 1 18 no equations checked R 19 Normal Z distribution confidence inter vals 9 16 note copying 14 8 editing 14 2 importing 14 8 printing 15 25 viewing 14 1 writing 14 1 Notepad 14 1 catalog keys 14 7 creating notes 14 6 writing in 14 6 nrng 2 5 nth root 10 6 null hypothesis 9 3 SVD 12 12 SVL 12 12 pee eae ae TRACE 12 13 ngineering 1 TRN 12 13 fixed 1 10 fraction 1 10 Index in Solve aplet 7 5 scientific 1 10 Standard 1 10 numeric precision 11 9 Numeric view adding X values 2 19 automatic 2 17 build your own table 2 19 display defining function for column 2 18 recalculating 2 19 setup 2 17 2
14. ANT 21 2E34 returns 2 12 Maximum The greater of two values AX valuel value2 Example AX 210 25 returns 210 Minimum The lesser of two values IN valuel value2 Example IN 210 25 returns 25 10 16 Using mathematical functions MOD CHANGE TOTAL RAD DEG ROUND Modulo The remainder of value 1 value2 valuel MOD value2 Example 9 MOD 4 returns 1 x percent of y that is x 100 y x y Example 20 50 returns 10 Percent change from x to y that is 1O0 y x x CHANGE X y Example CHANGE 20 50 returns 150 Percent total 100 y x What percentage of x is y JTOTALG y Example TOTAL 20 50 returns 250 Radians to degrees Converts value from radians to degrees RAD DEG value Example RAD DEG T returns 180 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 Using mathematical functions 10 17 SIGN TRUNCATE XPON Statistics Two Sign of value If positive the result is 1 If negative 1 If zero result is zero For a complex number this is the unit vector in the direction of the number SIGN value SIGN y Examples SIGN 2 returns 1 SIGN 3 4 returns 6 8 Truncates valu
15. Field name Definition x Sample mean Sx Sample standard deviation n Sample size uo Hypothetical population mean a Significance level Inference aplet 9 13 Results The results are Result Description Test T Prob Critical T Critical x T Test statistic Probability associated with the T Test statistic Boundary value of T associated with the level that you supplied Boundary value of x required by the amp value that you supplied Two Sample T Test Menu name T Test u1 u2 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 The null hypothesis is that the two populations means are equal H 9 U4 Ly You select one of the following alternative hypotheses against which to test the null hypothesis Hi lt W Ay hy gt W Ay My W Inference aplet Inputs Results The inputs are Field name Definition x1 Sample mean x2 Sample 2 mean S1 Sample 1 standard deviation S2 Sample 2 standard deviation nl Sample 1 size n2 Sample 2 size a Significance level _Pooled Check this option to pool samples based on their standard deviations The results are Result Description Test T T Test statistic
16. GRPHavING L LEVEL TEST It is also possible to have the equation control the graph Pressing displays a sub expression of your equation see right Pressing the gt and 4 key moves between sub expressions while pressing the a and Y key changes their values Pressing 83835 allows the user to select whether all three sub expressions will be explored at once or only one at a time A HE button is provided to p x g evaluate the student s Meee eee Sa knowledge Pressing H f displays a target quadratic Ee aan 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 An button is provided for those who give up Getting started Trig Explorer aplet The Trig Explorer aplet is used to investigate the behaviour of the graph of y asin bx c d as the values of a b c and d change both by manipulating the equation and seeing the change in the graph or by manipulating the graph and seeing the change in the equation When the user presses w Sines in the E1533 view the screen shown right is displayed SIH m RAD a INCR RESET Y SINCK 233m 7 In this mode the graph controls the equation Pressing the a and 4 gt keys transforms the graph with these transformations reflected gro Sl i
17. LSt LUNCHONS on ee ce eect alee dees elses ele 10 10 LOOP TUNCHONS sa 5 205s5 o sccbeeessseebeevie EE EEr EE Eies 10 11 Matrix functions 2 25 ses ectcasoeces astecacen cg scedades haptesdeess i aE eS 10 11 Polynomial fUNnCtions sissies aissis reises ceseeseceseeseceseeseeseeeseeees 10 12 Probability fUNCtiONS 0 0 eee ceeeese cee ceseeeeceeeeeceeeeeeseneeeeeas 10 13 Real number functions eee cseeee cee ceseeeeceseeseceseeeeeeeeeeeees 10 15 Statisties TWO ic cesses enee ont aioe hs Siscth a oro aa i Stet oct 10 18 Symbolic LUNCHUONS seee joss sccesceekesssses ssh Gesseescsdistaseedecdsossassseescbvess 10 19 Test LUmCtrOms so sss ene E EE EEE EE olen 10 20 Trigonometry functions 0 eee eseee cece cseeseecnecseeseceseeseeeeees 10 21 Symbolic calculations 00 0 0 eee ec eeeeeeeeeeeeeseeeseceeecaecsaesaeeseeeeseeeees 10 22 Finding derivatt ves scsccssccesscetiscesdistseesoessbssbedbsteeshnthaseevas sags vessasess 10 23 Contents iii 11 12 13 14 Variables and memory management Introducti oni 5 sissies siete ae path eas dom A TE Ea 11 1 Storing and recalling variables 0 0 tlie ceseeeeceeceseeeeeeeeeeeeeseeeneenee 11 2 The VARS Men sseccsicdscbetschsatingis E a EE ERE 11 4 Memory Manaser omer eeii EK E A EA 11 9 Matrices Introduction mein a ad este A eit hinted ee AS 12 1 Creating and storing Matrices eee ceeeeeceeeeseeeeeeseecaecseeaeesaenaes 12 2 Working with matrices iiieoo EE E A E 12 4 Matrix arith mete ee
18. Q3 Third quartile median of ordinals to right of median MAXE Maximum data value in data set When the data set contains an odd number of values the data set s median value is not used when calculating Q1 and Q3 in the table above For example for the following data set 3 5 7 8 15 16 17 only the first three items 3 5 and 7 are used to calculate Q1 and only the last three terms 15 16 and 17 are used to calculate Q3 Statistics aplet 8 13 Two variable Statistic Definition MEANX Mean of x independent values EX Sum of x values XX2 Sum of x values MEANY Mean of y dependent values EY Sum of y values Y2 Sum of y values XY Sum of each xy SCOV Sample covariance of independent and dependent data columns PCOV Population covariance of independent and dependent data columns CORR Correlation coefficient of the independent and dependent data columns for a linear fit only regardless of the Fit chosen Returns a value from 0 to 1 where 1 is the best fit RELERR The relative error for the selected fit Provides a measure of accuracy for the fit 8 14 Statistics aplet Plotting To plot statistical data HINT You can plot histograms 2HB box and whisker plots H scatter plots of data EHR Once you have entered your data NUM defined your data set SYMB and defined your Fit model for two variable statistic
19. SHIFT CMDS Menu for entering program commands SHIFT CHARS Displays special characters To type one highlight it and press HA To copy a character without closing the CHARS screen press GEG 14 2 Notes and sketches Aplet sketch view You can attach pictures to an aplet in its Sketch view SHIFT SKETCH Your work is automatically saved with the aplet Press any other view key or HOME to exit the Sketch view Sketch keys Key Meaning TERT DEL SHIFT CLEAR Stores the specified portion of the current sketch to a graphics variable G1 through GO Adds a new blank page to the current sketch set Displays next sketch in the sketch set Animates if held down Opens the edit line to type a text label Displays the menu key labels for drawing Deletes the current sketch Erases the entire sketch set Toggles menu key labels on and off If menu key labels are hidden or any menu key redisplays the menu key labels To draw a line em In an aplet press SHIFT SKETCH for the Sketch view 2 In Sketch view press EEE and move the cursor to where you want to start the line Press EEH This turns on line drawing 4 Move the cursor in any direction to the end point of the line by pressing the 4 Y 4 keys 5 Press EES to finish the line Notes and sketches 14 3 To draw a box To draw a circle DRAW keys I
20. key 1 4 library 16 6 Note view 14 1 opening 1 15 Parametric 4 1 Polar 5 1 receiving 16 5 resetting 16 4 sending 16 5 Sketch view 14 1 Solve 7 1 sorting 16 6 Statistics 8 1 aplet commands CHECK 15 14 SELECT 15 14 SETVIEWS 15 17 UNCHECK 15 17 aplet variables definition 11 1 11 8 in Plot view 15 30 new 11 1 aplet views canceling operations in 1 1 changing 1 17 note 1 16 Numeric view 1 15 Plot view 1 15 sketch 1 17 split screen 1 16 Symbolic view 1 15 arc cosecant 10 21 arc cosine 10 5 arc cotangent 10 21 arc secant 10 21 arc sine 10 5 arc tangent 10 5 area graphical 3 10 interactive 3 10 variable 15 30 arguments with matrices 12 10 attaching a note to an aplet 14 1 a sketch to an aplet 14 3 auto scale 2 14 axes plotting 2 6 variable 15 30 bad argument R 19 bad guesses error message 7 7 batteries changing R 8 low battery warning R 8 box and whisker plot 8 16 branch commands CASE END 15 18 IF THEN ELSE END 15 18 IFERR THEN ELSE 15 18 RUN 15 19 STOP 15 19 branch structures 15 17 build your own table 2 19 Index C calculus operations 10 8 catalogs 1 28 chronological sorting 16 6 circle drawing 14 4 clearing aplet 16 4 characters 1 21 display 1 21 display history 1 24 edit line 1 21 lists 13 6 plot 2 6 cobweb graph 6 2 coefficients polynomial 10 12 columns changing position 15 24 combinations 10 13 comma mode with matrices 13 7 commands aplet 15 14 Branch
21. or RUN programname Stops the current program STOP Drawing commands ARC BOX ERASE The Drawing commands act on the display The scale of the display depends on the current aplet s Xmin Xmax Ymin and Ymax values The following examples assume the HP 39G 40G 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 ARC x y radius start_angle_measurment end_angle_measurment Example ARC 0 0 2 0 360 FREEZE Draws a circle centered at 0 0 of radius 2 The FREEZE command causes the circle to remain displayed on the screen until you press a key Draws a box with opposite corners xJ y and x2 y2 BOX x1 y1 x2 y2 Example BOX silga lEs Ts FREEZE Draws a box lower corner at 1 1 upper corner at 1 1 Clears the display ERASE Programming 15 19 FREEZE LINE PIXOFF PIXON TLINE Halts the program freezing the current display Execution resumes when any key is pressed Draws a line from x y 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 PIXON x y Toggles the pixels along the line from x y to x2 y2 on and off Any pi
22. or you want to transfer a sub program that other menu programs use Programming 15 15 Auto run programs If the Prompt item is Start then the ProgramName program runs whenever you start the aplet This is useful for setting up a program to configure the aplet Users can select the Start item from the Views menu to reset the aplet if they change configurations You can also define a menu item called Reset which is autorun if the user chooses the RESET button in the APLET view 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 For example if you want the menu option to display the Plot view when the associated program finishes you would specify 1 as the ViewNumber value Including standard menu options To include one of an aplet s standard View menu options in your customized menu set up the arguments trio as follows The first argument specifies the menu item name Leave the argument empty to use the standard Views menu name for the item or Enter a menu item name to replace the standard name The second argument specifies the program to run Leave the argument empty to run the standard menu option Insert a progr
23. the labels are off pressing EE turns them back on e Pressing once displays the full row of labels e Pressing a second time removes the row of labels to display only the graph e Pressing a third time displays the coordinate mode Displays ZOOM menu list Turns trace mode on off A white box appears over the E on HATA Opens an input form for you to enter an X or Tor N or 8 value Enter the value and press HZ The cursor jumps to the point on the graph that you entered Function aplet only Turns on menu list for root finding functions see Analyse graph with FCN functions on page 3 3 Displays the current defining expression Press to restore the menu Aplets and their views 2 7 Trace a graph To move between relations To jump directly to a value To turn trace on off Zoom within a graph You can trace along a function using the 4 or gt key which moves the cursor along the graph The display also shows the current coordinate position x y of the cursor Trace mode and the coordinate display are automatically set when a plot is drawn Note Tracing might not appear to exactly follow your plot if the resolution in Plot Setup view is set to Faster This is because RES FASTER plots in only every other column whereas tracing always uses every column In Function and Sequence Aplets You can also scroll move the cursor left or right beyond the edge of the display window in t
24. 19 O off automatic 1 1 power 1 1 On Cancel 1 1 One Proportion Z Interval 9 18 One Sample T Interval 9 20 One Sample T Test 9 13 One Sample Z Interval 9 16 One Sample Z Test 9 9 order of precedence 1 20 overlaying plots 2 16 4 3 m 10 9 paired columns 8 11 Parametric aplet 4 1 parametric variables Axes 15 30 Connect 15 30 Grid 15 31 in menu map R 10 Indep 15 32 Labels 15 33 Recenter 15 33 Ycross 15 36 parentheses to close arguments 1 20 to specify order of operation 1 20 pause 15 28 permutations 10 13 pictures attaching in Sketch view 14 3 plot analyzing statistical data in 8 20 auto scale 2 14 box and whisker 8 16 cobweb 6 2 comparing 2 5 connected points 8 16 8 18 decimal scaling 2 14 defining the independent variable 15 35 drawing axes 2 6 expressions 3 3 goto function 1 29 grid points 2 6 in Solve aplet 7 8 index values 2 6 integer scaling 2 14 one variable statistics 8 18 overlay plot 2 14 overlaying 2 16 4 3 scaling 2 14 scatter 8 15 8 16 sequence 2 6 setting up 2 5 3 2 split screen view 2 15 splitting 2 15 splitting into plot and close up 2 14 splitting into plot and table 2 14 stairsteps 6 2 statistical data 8 15 statistics parameters 8 18 t values 2 5 tickmarks 2 6 to capture current display 15 20 tracing 2 8 trigonometric scaling 2 14 plotting resolution and tracing 2 8 plot view variables Area 15 30 Connect 15 30 FastRes 15 31 Function 15 30 Grid 15 31 Hmin Hmax 15 31 Hwidth 1
25. 2x y z 3 4x 2y 2z 14 1 2 314 can be written as the augmented matrix 2 1 _4 _3 4 2 2 14 which can then stored as a ml 1 2 3 4 3x4 real matrix in M1 You can use the RREF function to change this to reduced row echelon form RREF Mi PMZ storing it as M2 for BET Bp Op lip lost Opel convenience STOE The reduced row echelon matrix gives the solution to the linear equation in the forth column An advantage of using the RREF function is that it will also work with inconsistent matrices resulting from systems of equations which have no solution or infinite solutions For example the following set of equations has an infinite number of solutions x y z 5 2x y 7 x 2y z 2 The final row of zeros in the reduced row echelon form of the augmented matrix indicates an inconsistency 12 14 Matrices 13 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 Ifthe Decimal Mark in MODES is set to Comma then the separators are periods Lists represent a convenient way to group related objects There are ten list variables available named LO to L9 You can use them in calculations or expressions in HOME or in a program Retrieve the list names from the VARS menu or just type th
26. 3 2 Function aplet Change the scale Trace a graph Analyse graph with FCN functions 7 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 13 for a description of Auto Scale VIEWS Select Auto Scale epiPlot Detail ma F2 Plot Table Bae Overlay Plot Trace the linear function 6 times n 6 Fli 1 6 ET Note By default the tracer is active 8 Jump from the linear function to the quadratic function a HEHH 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 The FCN functions act on the currently selected graph See FCN functions on page 3 9 for further information Function aplet 3 3 To find the greater of the two roots of the quadratic function To find the intersection of the two functions 10 Find the greater of the two roots of the quadratic 11 12 function Note Move the cursor to the graph of the quadratic equation by pressing the a or key Then move the cursor so that it is near x 1 by pressing the gt or 4 key Select Root ee Fe oc t yj Intersection JSlope JSigned area JExtrenmum The root value is displayed at the bottom of the scr
27. 45 0 SHIFT 7 sin 45 7 SHIFT V85 9 J85x9 SHIFT V 08590 85 x9 Functions within an expression are evaluated in the following order of precedence Functions with the same precedence are evaluated in order from left to right 1 Expressions within parentheses Nested parentheses are evaluated from inner to outer Prefix functions such as SIN and LOG Postfix functions such as Power function NTHROOT Negation multiplication and division Addition and subtraction AND and NOT OR and XOR SOOO RT ON ER eS Left argument of where 10 Equals The smallest number the HP 39G 40G can represent is 1 x 10 49 1E 499 A smaller result is displayed as zero The largest number is 9 99999999999 x 10 A larger result is still displayed as this number 1 20 Getting started Clearing numbers Using previous results To copy a previous line To reuse the last result To repeat a previous line clears the character under the cursor When the cursor is positioned after the last character deletes the character to the left of the cursor that is it performs the same as a backspace key e CANCEL ON clears the edit line e SHIFT CLEAR clears all input and output in the display including the display history The HOME display HOME shows you four lines of input output history An unlimited except by memory number of previous lines can be dis
28. C68 16 121 EnA Dy es aes Ge 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 The matrix and the scalar can be real or complex For example to divide the result of the previous example by 2 use the following key presses 2 ENTER C68 16 12 Ans 2 C03 41 05 6 12 6 Matrices To multiply two matrices To divide by a square matrix To invert a matrix To negate each element To multiply the two matrices M1 and M2 that you created for the previous example use the following keystrokes ALPHA M1 x ALPHA M2 RAD ENTER Anissa C34 5 61 Mish2 COi9 221 045 581 Es a a a To multiply a matrix by a vector enter the matrix first then the vector The number of elements in the vector must equal the number of columns in the matrix For division of a matrix or a vector by a square matrix the number of rows of the dividend or the number of elements if it is a vector must equal the number of rows in the divisor This operation is not a mathematical division it is a left multiplication by the inverse of the divisor M1 M2 is equivalent to M27 M1 To divide the two matrices M1 and M2 that you created for the previous example use the following keystrokes ALPHA M1 ALPHA M2 ENTER gret 221 43 5601 C54
29. CEILING value Examples CEILING 3 2 returns 4 CEILING 3 2 returns 3 DEG RAD Degrees to radians Converts value from Degrees angle format to Radians angle format DEG RAD value Example DEG RAD 180 returns 3 14159265359 the value of 7 FLOOR Greatest integer less than or equal to value FLOOR value Example FLOOR 3 2 returns 4 FNROOT 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 FRAC Fractional part FRAC value Example FRAC 23 2 returns 2 Using mathematical functions 10 15 HMS HMS INT MANT MAX MIN Hours minutes seconds to decimal Converts a number or expression in H MMSSs format time or angle that can include fractions of a second to x x format number of hours or degrees with a decimal fraction HMS gt H MMSSs Example HMS 8 30 returns 8 5 Decimal to hours minutes seconds Converts a number or expression in x x format number of hours or degrees with a decimal fraction to H MMSSs format time or angle up to fractions of a second HMS x x Example HMS 8 5 returns 8 3 Integer part INT value Example INT 23 2 returns 23 Mantissa significant digits of value ANT value Example
30. CS Hae Observe the predicted y value in the left bottom corner of the screen WE PREDY 2931 5 MENU Entering and editing statistical data HINT The Numeric view NUM is used to enter data into the Statistics aplet Each column represents a variable named CO to C9 After entering the data you must define the data set in the Symbolic view SYMB A data column must have at least four data points to provide valid two variable statistics or two data points for one variable statistics You can also store statistical data values by copying lists from HOME into Statistics data columns For example in HOME L1 C1 stores a copy of the list L1 into the data column variable C1 Statistics aplet 8 5 Statistics aplet s NUM view keys The Statistics aplet s Numeric view keys are Key Meaning EDIT Copies the highlighted item into the edit line EE Inserts a zero value above the highlighted cell Sorts the specified independent data column in ascending or descending order and rearranges a specified dependent or frequency data column accordingly EE Switches between larger and smaller font sizes EmA A toggle switch to select one variable EmO or two variable statistics This setting affects the statistical calculations and plots The label indicates which setting is current Computes descriptive statistics for each data set specified in Symbolic view DEL Deletes the current
31. Extending aplets 16 1 Aplet Keys Key Meaning REZET EE ME receive or ENTER device Saves the highlighted aplet with a name Resets the default values and settings in the highlighted aplet This erases any stored data or functions Alphabetically or chronologically sorts the items in the Aplet Library menu list Transmits the highlighted aplet to another HP 39G 40G or a storage Receives the aplet sent from another HP 39G 40G or storage device Opens the selected aplet Example To create a new aplet from an existing Solve aplet right angled triangles A simple example of a customized aplet is the TRIANGLES aplet This aplet is a copy of the Solve aplet containing the formulas commonly used in calculations involving 1 In APLET highlight Solve and SAVE it under the new name APLET Select Solve TRIANGLES ENTER 2 Enter the four formulas SiN 0DE ALPHA 8 ALPHA O H ENTER ALPHA A ALPHA H ALPHA 0 0 E ENTER ALP A 90 NEH MAME ERR TRIANGLES CEC B TRIANGLES SYMEDLIC VIEH ZA Ei SIW 83 0 H E2 COS 8 3 A H ES TAN 8 2 0 A ME4 Ae be Ce ES 7 EDIT V CHE T n L HOH A O ALPHA A ENTER A A X2 ALPHA B x2 E ALP HA C X2 ENTER 16 2 Extending aplets Example
32. FEWE STATISTICS SYMBOLIC VIEW FER statistics window and rnia Ci f press key to see HS i the data set definitions H4 1 ENTER SAMPLE Tie first column Pert venkl e snow EVAL indicates the associated column of data for each data set definition and the second column indicates the constant frequency or the column that holds the frequencies The keys you can use from this window are Key Meaning ET ori EHHE VARS MATH DEL Copies the column variable or variable expression to the edit line for editing Press H when done Checks unchecks the current data set Only the checkmarked data set s are computed and plotted Typing aid for the column variables E or for the Fit expressions Displays the current variable expression in standard mathematical form Press H2 when 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 Deletes the highlighted variable or the current character in the edit line 8 8 Statistics aplet Key Meaning Continued CLEAR Resets default specifications for the data sets or clears the edit line if it was active Note If SHIFT CLEAR is used the data sets will need to be selected again before re use To continue our example suppose that t
33. Radians NUMBER FORMAT Fraction Fraction DECIMAL MARK Dot 4 ENTER DECIMAL PLACES TO USE EDIT CHOOS 2 Return to HOME and enter the calculation 3 0 026 3 E4OGIO5G 7 J80 se Cetsed i ote G4 STOF 3 Evaluate the calculation SHC2 3 44 C54 7 899 TOF a a ee Ee Converting To convert a decimal value to a fraction decimals to 1 Set the number mode to Fraction fractions 2 Either retrieve the value from the History or enter the value on the command line 3 Press ENTER to convert the number to a fraction 1 26 Getting started Converting a number to a fraction When converting a number to a fraction keep the following points in mind e When converting a recurring decimal to a fraction set the fraction precision to about 6 and ensure that you include more than six decimal places in the recurring decimal that you enter In this example the fraction precision is set 66 to 6 The top calculation 6666 returns the correct result The bottom one does not SS Ss ee 3333 5888 e To convert an exact decimal to a fraction set the fraction precision to at least two more than the number of decimal places in the decimal In this example the fraction precision is set to 6 Complex numbers Complex results To enter complex numbers The HP 39G 40G 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
34. To use the customized aplet 3 Decide whether you want the aplet to operate in Degrees Radians or Grads MODES HOO Select Degrees CHOOSE ANGLE MEASURE a n a C NEL Ensure the TRIANGLES aplet is saved in the Aplet Library APLET Parent Th l let arametri e Solve aplet can now Sbealepal OEB be reset and used for other Inferential 5KE problems Polar BKB SAVE RESET SORT ZEND RECY START To use the 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 with the horizontal and extends 5 metres up the wall 1 Select the aplet B TRIANGLES SYMBOLIC VIEH Se E1 SIW 839 0 H APLET Select E2 COS 89 A H Leen ES TANCA 0A EB vEdrAe Be ca 2 Choose the sine formula in El ArH CHE E3 TAH 8 9 0 A aJ 4 4 4 E4 A B2 cC2 ES 7 3 Change to the Numeric SERRE TRIANGLES NUMERIC VIEH Soe view and enter the known values O NUM ENTER VALUE Of PRESS SOLVE 35 ENTER Lert iNFO DEF SOLVE 5 ENTER Extending aplets 16 3 4 Solve for the missing BE TRIANGLES NUMERIC VIEH See value i J The length of the ladder is C oe approximately 8 72 metres Resetting an aplet Resetting an aplet clears all data and resets all default settings To reset an aplet ope
35. When you perform calculations that contain normal variables the calculator substitutes values for any variables For example if you enter A B on the command line and press ENTER the calculator retrieves the values for A and B from memory and substitutes them in the calculation To perform symbolic calculations for example symbolic differentiations and integrations you need to use formal names The HP 39G 40G has six formal names available for use in symbolic calculations These are SO to S5 When you perform a calculation that contains a formal name the HP 39G 40G does not carry out any substitutions You can mix formal names and real variables Evaluating A B S1 2 will evaluate A B but not S1 If you need to evaluate an expression that contains formal names numerically you use the where command listed in the Math menu under the Symbolic category For example to evaluate S1 S2 2 when S1 2 and S2 4 you would enter the calculation as follows CS1 52921 S1 2 S2 4 64 ero __ _ _ _ The symbol is in the CHARS menu press SHIFT CHARS The sign is listed in the MATH menu under Symbolic functions You can perform symbolic operations in the Function aplet s Symbolic view For example to find the derivative of a function in the Function aplet s Symbolic view you define two functions and define the second function as a derivative of the first function You then evaluate the second funct
36. X returns 0 Solves quadratic expression 0 for variable and returns a new expression where variable newexpression The result is a general solution that represents both positive and negative solutions by including the formal variable S to represent any sign or QUAD expression variable Example QUAD X 1 7 X returns 2 51 5 29150262213 2 Using mathematical functions 10 19 QUOTE Encloses an expression that should not be evaluated numerically QUOTE expression Examples QUOTE SIN 45 F1 X _ stores the 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 F1 X puts the expression X 3_2 X into F1 X in the Function aplet where Evaluates expression where each given variable is set to the given value Defines numeric evaluation of a symbolic expression expression variable1 value1 variable2 value Example 3 X 1 X 3 returns 12 Test functions The test functions are logical operators that always return either a 1 true or a 0 false lt Less than Returns 1 if true 0 if false valuel lt value2 lt Less than or equal to Returns 1 if true 0 if false valuel lt value2 Equals logical test Returns 1 if true 0 if false value l value2 Not equal to Returns 1 if true 0 if false valuel value2 gt Greater than Returns 1 if true 0 if false valuel gt
37. XZOOM and one for the vertical scale YZOOM Zooming out multiplies the scale by the factor so that a greater scale distance appears on the screen Zooming in divides the scale by the factor so that a shorter scale distance appears on the screen 2 12 Aplets and their views Other views for scaling and splitting the graph The preset viewing options menu VIEWS contains 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 It also contains split screen options VIEWS menu options In certain aplets for example those that you download from the world wide web the preset viewing options menu can also contain options that relate to the aplet Press VIEWS select an option and press EE Option Meaning Plot Splits the screen into the plot and a Detail Plot Table Overlay Plot Auto Scale Decimal Integer Trig close up Splits the screen into the plot and the data table Plots the current expression s without erasing any pre existing plot s Rescales the vertical axis so that the display shows a representative piece of the plot for the supplied x axis settings For Sequence and Statistics aplets autoscaling rescales both axes The autoscale process uses the first selected function
38. a measure of the error between predicted values and actual values based on the specified Fit A smaller number means a better fit In order to access these variables after you plot a set of statistics you must press to access the numeric view and then to display the correlation values The values are stored in the variables when you access the Symbolic view Statistics aplet Setting up the plot Plot setup view Plot type 1VAR Histogram width Histogram range Plotting mark 2VAR Connected points 2VAR The Plot Setup view SHIFT SETUP PLOT sets most of the same plotting parameters as it does for the other built in aplets See Setting up the plot Plot view setup on page 2 5 Settings unique to the Statistics aplet are as follows STATPLOT enables you to specify either a histogram or a box and whisker plot for one variable statistics when Fania is set Press HEZE to change the highlighted setting HWIDTH enables you to specify the width of a histogram bar This determines how many bars will fit in the display as well as how the data is distributed how many values each bar represents HRNG enables you to specify the range of values for a set of histogram bars The range runs from the left edge of the leftmost bar to the right edge of the rightmost bar You can limit the range to exclude any values you suspect are outliers S1MARK through S 5MARK enables you to specify one of five symbols to u
39. aeneis enone e TE es E tones 15 42 16 Extending aplets Creating new aplets based on existing aplets 00 0 eee eee eseeeee tees 16 1 Resetting an aplet csc iscccc sd ececesehapleicoipens stents E a a SE 16 4 Annotating an aplet With notes oo eee ee eee cee ceeeeeecnseesecneensees 16 4 Annotating an aplet with sketches 0 eee eee ceeesecsseeeeceeeneees 16 4 Downloading e lessons from the Web 0 ceeeeeeecseeeeeeeeeeeeeeeeseeaes 16 4 Sending and receiving aplets 0 0 eee eeeeeesecneceseceecnseeeeeeeeeeeseseeees 16 5 Sorting items in the aplet library menu list ol eee eeeeee eee 16 6 Contents v Reference information Regulatory information ce ceeeececeseeeceeeecsseeeeeeeeeeeeseceeecsseeeneeceneees R 1 USA orcs itera kl ee E EGA E ois nen ee R 1 Canada AE S E cations TTT R 1 LED Safeer eae E E E E e a E A a a E Gave R 2 Warta tty ca seceueaseae sett sca capcaee a e a A E A A OR R 2 CAS ci heii Wa AU Re E A eis Sd ete ere oS ee aoi R 4 Resetting the HP 39G A40G i soc sce esses sees eritisest sess basco isenesstetssessbecse R 4 To erase all memory and reset defaults see ee ceeeeeeeeeeeeeeees R 5 If the calculator does not turn OM oo eels eect cee ceeceeeeceseeseeeeeees R 5 GlOSSAaLY tn scsi Bical eee t oe hid OA Sa ne eae Nae R 6 Operating details s sc cis vsscssssssessgee idee casseesotecsdboescscvecoyasiseescavessvtestapecdstasbeys R 7 Batteries ecien sini atin lish iva ce eet wile eines R 7 Menu
40. and y is the imaginary part For example entering 1 returns 0 1 Enter the number in either of these forms where x is the real part y is the imaginary part and i is the imaginary constant N 1 e x y or e x iy To enter i e press SHIFT ALPHA I or e press MATH a or keys to select Constant gt to move to the right column of the menu Y to select i and H3 Getting started 1 27 Storing complex numbers There are 10 variables available for storing complex numbers ZO to Z9 To store a complex number in a variable Enter the complex number press 23 enter the variable to store the number in and press ENTER 940 50 ALPHAJZ 0 Catalogs and editors The HP 39G 40G 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 e lt A catalog lists items which you can delete or transmit for example an aplet e An editor lets you create or modify items and numbers for example a note or a matrix Catalog Editor Contents Aplet library Aplets APLET Sketch editor Sketches and diagrams See SHIFT SKETCH Chapter 14 Notes and sketches List SHIFT LIST Lists In HOME lists are enclosed in See Chapter 13 Lists Matrix One and two dimensional arrays SHIFT MATRIX In HOME arra
41. bar by pressing E The E menu key toggles between the following three options specifies that the cursor moves to the cell below the current cell when you press ENTER EE specifies that the cursor moves to the cell to the right of the current cell when you press ENTER EH specifies that the cursor stays in the current cell when you press ENTER When done press SHIFT MATRIX to see the Matrix catalog or press HOME to return to HOME The matrix entries are automatically stored DEDEDE Ce ATKIN CATALOG AEEA M1 181 REAL MATRIS OKE M2 243 REAL MATRIS MS 181 REAL MATRIX WKE M4 181 REAL MATRIK OKE M5 141 REAL MATRIK OKE Y A matrix is listed with two dimensions even if it is 3x1 A vector is listed with the number of elements such as 3 Matrices 12 3 To transmit a You can send matrices between calculators just as you can matrix 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 4 Press HEIE 5 Press HH on the receiving calculator Matrices can also be transmitted to or from a computer a cable and Connectivity Kit Working with matrices To edit a matrix In the Matrix catalog highlight the name of the matrix you want to edit and press H5 Matrix edit keys The following table lists the matrix edit key operations Key Meani
42. computer This takes place via a cable connection and requires an aplet disk drive or special software running on a PC such as the PC Connectivity Kit Note The HP 40G does not have an IR port A PC adapter and unit to unit cable is supplied instead To transmit an 1 Connect the storage device to the calculator by cable aplet or align the two calculators infrared ports by matching up the triangle marks on the rims of the calculators Place the calculators no more than 2 inches 5 cm apart 2 Sending calculator Open the Library highlight the aplet to send and press HH You have two options another HP 39G or a disk drive on a PC Highlight your selection and press EE If transmitting to a disk drive you have the options of sending to the current default directory or to another directory 3 Receiving calculator Open the aplet library and press A You have two options another HP 39G or a disk drive or computer Highlight your selection and press HE The Transmit annunciator gt is displayed until transmission is complete If you are using the PC Connectivity Kit to download aplets from a PC you will see a list of aplets in the PC s current directory Check as many items as you would like to receive Extending aplets 16 5 Sorting items in the aplet library menu list To sort the aplet list To delete an aplet Once you have entered information into an aplet you have def
43. given width and height and stores it in graphicname N EROGROB graphicname width height Loop commands DO UNTIL END WHILE REPEAT END Loop structures allow a program to execute a routine repeatedly The HP 39G 40G has three loop structures The example programs below illustrate each of these structures incrementing the variable A from 1 to 12 Do Until End is a loop structure that executes the loop clause repeatedly until test clause returns a true nonzero result Because the test is executed after the loop clause the loop clause is always executed at least once Its syntax is DO loop clause UNTIL test clause END 1 gt A DOA 1P PA UNTIL A 12 END While Repeat End is a loop structure 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 Its syntax is WHILE test clause REPEAT loop clause END gt A HILE A lt 12 EPEAT Atl gt A D AWDaer 15 22 Programming FOR TO STEP END BREAK FOR name start expression TO end expression STEP increment loop clause END FOR A 1 TO 12 STEP 1 DISP 3 A END Note that the STEP parameter is optional If it is omitted a step value of 1 is assumed Terminates loop BREAK Matr
44. hp com calculators An HP 39G 40G program contains a sequence of numbers mathematical expressions and commands that execute automatically to perform a task These items are separated by a colon Commands that take multiple arguments have those arguments separated by a semicolon For example PIXON xposition yposition Inside a program you can use branching structures to control the execution flow You can take advantage of structured programming by creating building block programs Each building block program stands alone and it can be called from other programs Note If a program has a space in its name then you have to put quotes around it when you want to run it RUN GETVALUE SHOW ANSWER RUN CALCULATE RUN This program is separated into three main tasks each an individual program Within each program the task can be simple or it can be divided further into other programs that perform smaller tasks Programming 15 1 Program catalog The Program catalog is where you create edit delete send receive or run programs This section describes how to e open the Program catalog e create a new program e enter commands from the program commands menu e enter functions from the MATH menu e edit a program e run and debug a program e stop a program e copy a program e send and receive a program e delete a program or its contents e customize an aplet Open Progr
45. import a note 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 SHIFT NOTE 2 Press EHEN highlight Notepad in the left hand list then highlight the name Assignments in the right hand list 3 Press EEE to copy the contents of Assignments to the Function Note view Note To recall the name instead of the contents press EHEH instead of MIFE Suppose you want to copy the Note view from the current aplet into the note Assignments in the Notepad l In the Notepad SHIFT NOTEPAD open the note Assignments Press HA3 highlight Note in the left column then press gt and highlight NoteText in the right column Press EES to recall the contents of the Note view into the note Assignments 14 8 Notes and sketches 15 Programming Introduction HINT The Contents of a Program Structured Programming Example This chapter describes how to program using the HP 39G 40G In this chapter you ll learn about e using the Program catalog to create and edit programs e programming commands e storing and retrieving variables in programs programming variables More information on programming including examples and special tools can be found at HP s calculators web site www
46. in the Function aplet Or you can use the key on the keyboard Enters the independent variable in the Parametric aplet Or you can use the key on the keyboard EZ Enters the independent variable in the Polar aplet Or you can use the key on the keyboard EE Enters the independent variable in the Sequence aplet Or you can use the key on the keyboard Displays the current expression in text book form GUE Resolves all references to other definitions in terms of variables and evaluates all arithmetric expressions VARS Displays a menu for entering variable names or contents of variables MATH Displays the menu for entering math operations SHIFT Displays special characters To enter CHARS one place the cursor on it and press EIS To remain in the CHARS menu and enter another special character press EEH DEL Deletes the highlighted expression or the current character in the edit line SHIFT CLEAR Deletes all expressions in the list or clears the edit line 2 4 Aplets and their views About the Plot view After entering and selecting check marking the expression in the Symbolic view press PLOT To adjust the appearance of the graph or the interval that is displayed you can change the Plot view settings You can plot up to ten expressions at the same time Select the expressions you want to be plotted together Setting up the plot Plot view setup Press SHIFT S
47. of merchantaiblity and fitness for a particular purpose and Hewlett Packard Company shall not be liable for any errors or for incidental or consequential damage in connection with the furnishing performance or use of this manual and the examples herein Hewlett Packard Company 2000 all rights reserved The programs that control your HP 39G 40G are copyrighted and all rights are reserved Reproduction adaptation or translation of those programs without prior written permission of Hewlett Packard is prohibited Preface Getting started On off cancel operations To turn on To cancel To turn off HOME Press to turn on the calculator When the calculator is on the key cancels the current operation Press SHIFT OFF to turn the calculator off To save power the calculator turns itself off after several minutes of inactivity All stored and displayed information is saved 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 quit the current activity such as an aplet a program or an editor press HOME All mathematical functions are available in the HOME The name of the current aplet is displayed in the title of the home view Getting started The display To adjust the contrast To clear the display Parts of the display
48. of what the example data represents Inference aplet 9 1 Getting started with the Inference aplet 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 Open the Inference aplet l Open the Inference aplet APLET Select Inferential THE TS The Inference aplet opens in the Symbolic view GSE INF STAT SYMEDLIC VIEW See METHOD a ee e mre 2 Test 1 p ALT HYPOTH lt p Choose an inferential nethod Inference aplet s SYMB view keys The table below summarizes the options available in Symbolic view Hypothesis Tests Confidence Intervals Z 1 u the Z Test on mean Z Hy W2 the Z Test on the difference of two means Z 1 P the Z Test on 1 proportion Z P Py the Z Test on the difference in two proportions T 1 p the T Test on mean T Hy Ho the T Test on the difference of two means Z Int 1 u the confidence interval for 1 mean based on the Normal distribution Z Int ly Wy the confidence interval for the difference of two means based on the Normal distribution Z Int 1 P the confidence interval for 1 proportion based on the Normal distribution Z Int P4 P3 the confidence interval for the difference of two proportions based on the Normal distribution T Int 1 u the confidence interval for 1 mean based
49. only to determine the best scale to use Rescales both axes so each pixel 0 1 unit Resets default values for XRNG 6 5 to 6 5 and YRNG 3 1 to 3 2 Not in Sequence or Statistics aplets Rescales horizontal axis only making each pixel 1 unit Not available in Sequence or Statistics aplets Rescales horizontal axis so 1 pixel 7 24 radian 7 58 or 814 grads rescales vertical axis so 1 pixel 0 1 unit Not in Sequence or Statistics aplets Aplets and their views 2 13 Split the screen The Plot Detail view can give you two simultaneous views of the plot 1 Press Views Select Plot Detail and press EH The graph is plotted twice You can now zoom in on the right side 2 Press HEM BEET select the zoom method and press Hi or ENTER This zooms the right side Here is an example of split screen with Zoom In o TRACe cnwi FCN DEFN The Plot menu keys are available as for the full plot for tracing coordinate display equation display and so on SHIFT 4 moves the leftmost cursor to the screen s left edge and SHIFT gt moves the rightmost cursor to the screen s right edge The k menu key copies the right plot to the left plot 3 To un split the screen press PLOT The left side takes over the whole screen The Plot Table view gives you two simultaneous views of the plot 1 Press VIEWS Select Plot Table and press H2 The sc
50. or the calculation for the result you wish to store 2 Press 3 Enter a name for the variable 4 Press ENTER SFB 5 Be a aS ae es ee Variables and memory management To store the results of a calculation To recall a value If the value you want to store is in the HOME view display history for example the results of a previous calculation you need to copy it to the command line then store it 1 Perform the calculation for the result you want to store 31x 08 60 3 ENTER BeCSeGa 3 Move the highlight to the result you wish to store Press to copy the result to the command line Press EETA a ae ae ed Enter a name for the variable a EI EEG ALPHA A 6 Press to store the result The results of a calculation can also be stored directly to a variable For example 26905 E30 lt a EZET ALPHA B ENTER 2 c5 3 RB 3 17468218394 To recall a variable s value type the name of the variable and press ENTER A ENTER Variables and memory management 11 3 To use variables You can use variables in calculations The calculator in calculations substitutes the variable s value in the calculation 65 ALPHAJA ENTER The VARS menu 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 variabl
51. predicted estimated value for the independent variable given a hypothetical dependent value Enter PREDY x value to find the predicted value of the dependent variable given a hypothetical independent variable EDX and PRI You can type PRI EDY into the edit line or you can copy these function names from the MATH menu under the Stat Two category In cases where more than one fit curve is displayed the PREDY function uses the most recently calculated curve In order to avoid errors with this function uncheck all fits except the one that you want to work with or use the Plot View method Statistics aplet 8 21 Inference aplet About the Inference aplet Example data The Inference capabilities include calculation of confidence intervals and hypothesis tests based on the Normal Z distribution or Student s t distribution Based on the statistics from one or two samples you can test hypotheses and find confidence intervals for the following quantities e mean e proportion e difference between two means e difference between two proportions When you first access an input form for an Inference test by default the input form contains example data This example data is designed to return meaningful results that relate to the test 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
52. see will differ slightly depending on where you started the program If you start the program from HOME the HP 39G 40G 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 HP 39G 40G returns you to the Program catalog when the program ends Debug a If you run a program that contains errors the program will program stop and you will see an error message amp Invalid Sunt ax Edit program To debug the program 1 Choose to edit the program The insert cursor appears in the program at the point where the error occurred 2 Edit the program to fix the error Re start the program 4 Repeat the process until you find and correct all errors Stop a You can stop the execution of a program at any time by program pressing CANCEL the key Note You may have to press it a couple of times Programming 15 7 Working with programs Copy a program HINT Transmit a program Delete a program You can use the following procedure if you want to make a copy of your work before editing or if you want to use one program as a template for another 1 Press SHIFT PROGRM to open the Program catalog 2 Press HEH 3 Type a new file name then choose EEE The Program Editor opens with a new program Press VARS to open the Variable menu Press 7 to quickly scroll to Program Press gt th
53. supply the number of the row counting from the top starting with 1 or the number of the column counting from the left starting with 1 The argument matrix can refer to either a vector or a matrix Matrix functions COLNORM Column Norm Finds the maximum value over all columns of the sums of the absolute values of all elements in a column COLNORM matrix COND Condition Number Finds the 1 norm column norm of a square matrix COND matrix CROSS Cross Product of vector with vector2 CROSS vector1 vector2 DET Determinant of a square matrix DET matrix DOT Dot Product of two arrays matrix matrix2 DOT matrix1 matrix2 12 10 Matrices EIGENVAL EIGENVV IDENMAT INVERSE LQ LSQ LU MAKEMAT 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 EIGENV V matrix Identity matrix Creates a square matrix of dimension size x size whose diagonal elements are 1 and off diagonal elements are zero IDENMAT size Inverts a square matrix real or complex INVERSE matrix LQ Factorization Factors an m x n matrix into three matrices m x n lowertrapezoidal nx n orthogonal m x m permutation LQ matrix Least Squares Displays the minimum norm least squares matrix or vector LSQ matrixl matrix
54. then press H 4 The contents of the program are deleted but the program name remains About customizing an aplet You can configure an aplet and develop a set of programs to work with the aplet Use the SETVIEWS command to create a custom VIEWS menu which links specially written programs to the new aplet A useful method for customizing an aplet is illustrated below 1 Decide on the aplet type that you want to use for example the Function aplet or the Statistics aplet The copied aplet inherits all the properties of the parent aplet Save the standard aplet under a new name 2 Configure the new aplet if you need to for example by presetting axes or angle measures 3 Develop the programs to work with your aplet When you develop the aplet s programs use the standard aplet naming convention This allows you to keep track of the programs in the Program catalog that belong to each aplet See Aplet naming convention on page 15 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 15 14 for information on the command 5 Ensure that the new aplet is selected then run the menu configuration program to configure the aplet s VIEWS menu 6 Test the aplet and debug the associated programs Refer to Debug a pro
55. trigonometric function In this case you should specify in the mode screen whether the trigonometric units are to be interpreted in degrees radians or grads The data that you enter is automatically saved When you are finished entering data values you can press a key for another Statistics view like SYMB or you can switch to another aplet or HOME In the Numeric view of the Statistics aplet highlight the data value to change Type a new value and press ENTER or press to copy the value to the edit line for modification Press after modifying the value on the edit line To delete a single data item highlight it and press DEL The values below the deleted cell will scroll up one row To delete a column of data highlight an entry in that column and press SHIFT CLEAR Select the column name e To delete all columns of data press SHIFT CLEAR Select All columns Statistics aplet Insert data Sort data values Highlight the entry following the point of insertion Press TEE then enter a number It will write over the zero that was inserted 1 In Numeric view highlight the column you want to sort and press EIZE 2 Select the SORT ORDER option You can choose either Ascending or Descending 3 Specify the INDEPENDENT and DEPENDENT data columns Sorting is by the independent column For instance if Age is C1 and Income is C2 and you want to sort by Income t
56. values before using RANDOM to produce the numbers RANDOM Using mathematical functions 10 13 UTPC UTPF UTPN UTPT HINT 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 Upper Tail Chi Squared Probability given degrees of freedom evaluated at value Returns the probability that a x random variable is greater than value UTPC degrees value 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 UTPF numerator denominator value Upper Tail Normal Probability given mean and variance evaluated at value Returns the probability that a normal random variable is greater than value for a normal distribution Note The variance is the square of the standard deviation UTPN mean variance value Upper Tail Student s t Probability given degrees of freedom evaluated at value Returns the probability that the Student s t random variable is greater than value UTP T degrees value 10 14 Using mathematical functions Real number functions Some real number functions can also take complex arguments CEILING Smallest integer greater than or equal to value
57. view VARS Select Plot FCN gt a or to choose a variable The FCN functions are Function Description Root Select Root to find the root of the 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 See also Interpreting results on page 7 6 The cursor is moved to the root value on the x axis and the resulting x value is saved in a variable named ROOT Extremum Select Ext remum to find the maximum or minimum of the current function nearest the cursor This displays the coordinate values and moves the cursor to the extremum The resulting value is saved in a variable named EXTREMUM Slope Select Slope to find the numeric derivative at the current position of the cursor The result is saved in a variable named SLOPE Function aplet 3 9 Shading area Function Description Continued Signed area Select Signed area to find the numeric integral If there are two or more expressions checkmarked then you will be asked to choose the second expression from a list that includes the x axis Select a starting point then move the cursor to selection ending point The result is saved in a variable named AREA Intersection Select Intersection to find the intersection of two graphs nearest the cursor You need to have at least tw
58. would check F3 if the current aplet is Function Then a checkmark would appear next to F3 in Symbolic view F3 would be plotted in Plot view and evaluated in Numeric view CHECK n Selects the named aplet and makes it the current aplet Note Quotes are needed if the name contains spaces or other special characters SE pag ECT apletname The SETVIEWS command is used to define entries in the VIEWS menu for aplets that you customize See About customizing an aplet on page 15 9 for an example of using the SETVIEWS command When you use the SETVIEWS command the aplet s standard VIEWS menu is deleted and the customized menu is used in its place You only need to apply the command to an aplet once The View menu changes remain unless you apply the command again Typically you develop a program that uses the SETVIEWS command only The command contains a trio of arguments for each menu option to create or program to attach Keep the following points in mind when using this command e The SETVIEWS command deletes an aplet s standard Views menu options If you want to use any of the standard options on your reconfigured VIEWS menu you must include them in the configuration e When you invoke the SETVIEWS command the changes to an aplet s VIEWS menu remain with the aplet You need to invoke the command on the aplet again to change the VIEWS menu 15 14 Programming e All the programs that are c
59. 1 19 For a description see S on page 10 7 The multiplicative inverse function finds the inverse of a square matrix and the multiplicative inverse of a real or complex number Also works on a list containing only these object types Using mathematical functions Keyboard functions E 0 4 Cae SHIFT 10 SINJ cos TAN The most frequently used functions are available directly from the keyboard Many of the keyboard functions also accept complex numbers as arguments Add Subtract Multiply Divide Also accepts complex numbers lists and matrices valuel value2 etc Natural exponential Also accepts complex numbers e value Example e 5 returns 148 413159103 Natural logarithm Also accepts complex numbers LN value Example LN 1 returns 0 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 Example TAN 45 returns 1 Degrees mode 10 4 Using mathematical functions SHIFT JASIN SHIFT ACOS SHIFT JATAN SFT Arc sine sin7 x Output range is from 90 to 90 1 2 to 1 2 or 100 to 100 grads Inputs and outputs depend on the current angle format Also accepts complex numbers
60. 15 17 definition of R 6 Drawing 15 19 Graphic 15 20 Loop 15 22 Print 15 25 Program 15 5 R 18 Prompt 15 25 Stat One 15 29 Stat Two 15 29 with matrices 12 10 complex functions 10 6 10 18 complex number functions conjugate 10 8 imaginary part 10 8 real part 10 8 complex numbers 1 27 entering 1 27 maths functions 10 8 storing 1 28 confidence intervals 9 16 conjugate 10 8 connecting data points 8 18 variable 15 30 connectivity kit 16 5 constant error message 7 7 constants 10 9 e 10 9 i 10 9 maximum real number 10 9 minimum real number 10 9 program R 17 contrast decreasing display 1 2 increasing display 1 2 coordinate display 2 8 copying display 1 21 graphics 14 6 notes 14 8 programs 15 8 correlation coefficient 8 17 CORR 8 17 statistical 8 14 cosecant 10 21 cosine 10 4 inverse hyperbolic 10 9 cotangent 10 21 covariance statistical 8 14 creating aplet 16 1 notes in Notepad 14 6 programs 15 4 sketches 14 3 critical value s displayed 9 4 cross product vector 12 10 curve fitting 8 11 8 17 D data set definition 8 7 date setting 15 26 debugging programs 15 7 decimal changing marker format 1 10 scaling 2 14 2 16 decreasing display contrast 1 2 definite integral 10 7 Index deleting aplet 16 6 lists 13 6 matrices 12 4 programs 15 9 statistical data 8 10 delimiters programming 15 1 derivatives definition of 10 7 in Function aplet 10 24 in Home 10 23 determinant square ma
61. 2 LU Decomposition Factors a square matrix into three matrices lowertriangular uppertriangular permutation The uppertriangular has ones on its diagonal LU matrix Make Matrix Creates a matrix of dimension rows x columns using expression to calculate each element If expression contains the variables I and J then the 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 3x3 zero matrix 0 0 0 0 0 0 0 0 0 Matrices 12 11 QR QR Factorization Factors an mxn matrix into three matrices mxm orthogonal mxn uppertrapezoidal nxn permutation QR matrix RANK Rank of a rectangular matrix RANK matrix ROWNORM Row Norm Finds the maximum value over all rows for the sums of the absolute values of all elements in a row ROWNORM matrix RREF Reduced Row Echelon Form Changes a rectangular matrix to its reduced row echelon form RREF matrix SCHUR Schur Decomposition Factors a square matrix into two matrices If matrix is real then the result is Lorthogonal upper quasi triangular If matrix is complex then the result is unitary upper triangular SCHUR matrix SIZE Dimensions of matrix Returned as a list rows columns SIZE matrix SPECNORM Spectral Norm of matrix SPECNORM matrix SPECRAD Spectral Radius of a square matrix SPECR
62. 2 8 gt R1 8 U1 U9 UO Can contain any expression Independent variable is N Sequence Example RECURSE U U N 1 N 1 2 gt U1 N E1 E9 EO Can contain any equation or expression Independent variable Solve is selected by highlighting it in Numeric View Example X Y X 2 Y gt El S1fit S5fit Defines the type of fit to be used by the FIT operation in Statistics drawing the regression line From Symbolic Setup view specify the fit in the field for S1FIT S2FIT etc or In a program store one of the following constant names or numbers into a variable S1fit S2fit etc 1 Linear 2 LogFit 3 ExpFit 4 Power 5 QuadFit 6 Cubic 7 Logist 8 User defined Example Cubic gt S2fit or 6 gt S2fit 15 38 Programming Numeric view variables C1 C9 CO Statistics Digits All Aplets The following aplet variables control the Numeric view The value of the variable applies to the current aplet only CO through C9 for columns of data Can contain lists Enter data in the Numeric view or In a program type LIST Cn wheren 0 1 2 3 9 Number of decimal places to use for Number format From Solve s Numeric Setup view enter a value in the second field of Number Format or In a program type ne Digits where 0 lt n lt 11 Except in Solve the value of Digits takes effect only after the current aplet is saved with a new name Until then HDigit is in effect Programming 15 39 Format All Ap
63. 3 for further information The VIEWS menu contains the Overlay Plot view VIEWS Select Overlay Plot Plots the current expression s without erasing any pre existing plot s See Other views for scaling and splitting the graph on page 2 13 for further information Press SHIFT NOTE to display the aplet s note view 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 fs fspace fn EKSP FUNCTION NOT ASSIGNMENT 5 DUE 4764 See Notes and sketches on page 14 1 for further information Press SHIFT SKETCH to display the aplet s sketch view Getting started Displays pictures to AEN supplement an aplet AN a PELO AND Da1 i A A B AND C See Notes and sketches on a page 14 1 for further information Aplet view configuration Plot Setup Numeric Setup Symbolic Setup To change views To save aplet configuration You use the SETUP keys SHIFT PLOT and SHIFT NUM to configure the aplet For example press SHIFT SETUP PLOT SHIFT PLOT to display the input form for setting the aplet s plot settings Angle measure is controlled using the MODES view Press SETUP PLOT Sets parameters to plot a graph FUNCTION PLOT SETUP E 1 5 6 5 YENG 7 12857 7 5 TICK 1 TICK 1 RES Faster ENTER MINIMUM HORIZONTAL VALUE DEDIT l PAG
64. 4 31 You can invert a square matrix in HOME by typing the matrix or its variable name and pressing SHIFT x ENTER Or you can use the matrix INVERSE command Enter INVERSE matrixname in HOME and press ENTER You can change the sign of each element in a matrix by pressing before the matrix name Matrices 12 7 Solving systems of linear equations Example Solve the following linear system 2x 3y 4z 5 xX y z 7 4x y 2z 1 1 Open the Matrix catalog and choose to create a vector in the M1 variable SHIFT MATRIX EHS gy eae eae aie eaen SSE CREATE e i Mz Real matrix ZE r3 EE zE M4 Complex matrix ep Y ENTER M5 Complex vector fe 2 Create the vector of the constants in the linear system 5 7 ENTER 1 LEGIT INS oo ela 3 Return to the Matrix MATE CATALOG SEER catalog The vector you gE a created is listed as M1 MS 181 REAL MATRIS OKE Me 181 REAL MATRIX OKE SHIFT MATRIX MS 282 REAL MATRIS ANKE Y 4 Select the M2 variable and create a new matrix Bigger aare cavern a Ww Mi AA CREATE E Real matrix Select Real matrix HE Pes TET a ua M4 Complex matrix ep M5 Complex vector fe y CANEL OK 5 Create a new matrix and enter the equation coefficients 2 ENTER 3 ENTER 4 ENTER 1 ENTER 1 ENTER 1 ENTER 4 ENTER QJI ENTER 2 ENTER SANS ETE 12 8 Matrices 6 Return to H
65. 5 for example the function calculates 5 120 Summation Finds the sum of expression with respect to variable from initialvalue to finalvalue variable initialvalue finalvalue expression Example xX c 1 5 Cc 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 POLYCOEF POLYEVAL POLYFORM POLYROOT Polynomials are products of constants coefficients and variables raised to powers terms 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 POLYCOBF 2 3 4 5 returns 1 2 25 26 120 representing x44 2x3_25x7 26x 120 Polynomial evaluation Evaluates a polynomial with the specified coefficients for the value of x POLYEVAL coefficients value Example For x4 2x3 25x2 26x 120 POLYEVAL 1 2 25 26 120 8 returns 3432 Polynomial form Creates a polynomial in variable1 from expression POLYFORM expression variable 1 Example POLYFORM X 1 2 1 X returns X 2 2 X 2 Polynomial roots Returns the roots for the nth order polynomial with the specified n 1 coefficients POLYROOT coefficients Example For x 2x3 25x2 26x 120 POLYROOT 1 2 25 26 120 return
66. 5 32 Isect 15 32 Labels 15 33 Recenter 15 33 RNG 15 34 Root 15 33 Simark SSmark 15 33 StatPlot 15 34 Tracing 15 32 Ustep 15 34 Index polar variables Axes 15 30 Connect 15 30 Grid 15 31 in menu map R 11 Indep 15 32 Labels 15 33 Recenter 15 33 Ycross 15 36 polynomial coefficients 10 12 evaluation 10 12 form 10 12 roots 10 12 Taylor 10 7 polynomial functions POLYCOEF 10 12 POLYEVAL 10 12 POLYFORM 10 12 POLYROOT 10 12 position argument 15 20 power x raised to y 10 6 precedence 1 20 predicted values statistical 8 21 print contents of display 15 25 name and contents of variable 15 25 object in history 15 25 variables 15 25 probability functions 10 13 COMB 10 13 permutations 10 13 RANDOM 10 13 UTPC 10 14 UTPF 10 14 UTPN 10 14 UTPT 10 14 program commands 15 5 copying 15 8 creating 15 4 debugging 15 7 deleting 15 8 delimiters 15 1 editing 15 5 naming 15 4 pausing 15 28 printing 15 25 running 15 7 sending and receiving 15 8 stopping 15 7 structured 15 1 prompt commands beep 15 25 create choose box 15 25 create input form 15 27 display item 15 26 display message box 15 28 halt program execution 15 28 insert line breaks 15 28 prevent screen display being updated 15 27 set date and time 15 26 store keycode 15 27 Q O lt AEdQvAT bOVT TAPa gt otEN 2 5 Orng 2 5 quadratic extremum 3 6 fit 8 12 function 3 4 quitting views 1 17 quotes in program names 15 4 R random numbers 10 14 real
67. 8 18 plotting data 8 15 predicted values 8 21 regression curve fit models 8 11 saving data 8 10 sorting data 8 11 specifying angle setting 8 10 toggling between one variable and two variable 8 11 tracing plots 8 20 troubleshooting with plots 8 19 zooming in plots 8 20 statistics variables Axes 15 30 Connect 15 30 Grid 15 31 Hmin Hmax 15 31 Hwidth 15 32 in menu map R 14 Indep 15 32 Labels 15 33 Recenter 15 33 Simark SSmark 15 33 Ycross 15 36 step size of independent variable 15 35 storing list elements 13 1 13 4 13 5 13 7 matrix elements 12 3 12 5 results of calculation 11 3 value 11 2 strings literal in symbolic operations 10 20 structured programming 15 1 subtract 10 4 summation function 10 11 symbolic calculations in Function aplet 10 22 defining expressions 2 1 differentiation 10 23 Index l 11 displaying definitions 3 8 evaluating variables in view 2 3 setup view for statistics 8 10 symbolic functions where 10 20 equals 10 19 ISOLATE 10 19 LINEAR 10 19 QUAD 10 19 QUOTE 10 20 Symbolic view defining expressions 3 2 syntax 10 3 syntax errors 15 7 T table navigate around 3 7 numeric values 3 7 numeric view setup 2 17 tangent 10 4 inverse hyperbolic 10 9 Taylor polynomial 10 7 tickmarks for plotting 2 6 time 10 16 setting 15 26 time converting 10 16 times sign 1 19 tmax 15 35 tmin 15 35 too few arguments R 20 tracing functions 2 8 more than one curve 2 8 not matching plot 2 8 plo
68. AD matrix SVD Singular Value Decomposition Factors an m x n matrix into two matrices and a vector m x m square orthogonal n x n square orthogonal real SVD matrix SVL Singular Values Returns a vector containing the singular values of matrix SVL matrix 12 12 Matrices TRACE TRN Examples Identity Matrix Transposing a Matrix Finds the trace of a square matrix The trace is equal to the sum of the diagonal elements It is also equal to the sum of the eigenvalues TRACE matrix Transposes matrix For a complex matrix TRN finds the conjugate transpose TRN matrix You can create an identity matrix with the IDENMAT function For example IDENMAT 2 creates the 2x2 identity matrix 1 0 0 1 You can also create an identity matrix using the MAKEMAT make matrix function For example entering MAKEMAT I J 4 4 creates a 4 x 4 matrix showing the numeral 1 for all elements except zeros on the diagonal The logical operator returns 0 when I the row number and J the column number are equal and returns 1 when they are not equal The TRN function swaps the row column and column row elements of a matrix For instance element 1 2 row 1 column 2 is swapped with element 2 1 element 2 3 is swapped with element 3 2 and so on For example TRN 1 2 3 4 creates the matrix 1 3 2 4 Matrices 12 13 Reduced Row Echelon Form The following set of equations x 2y 3z 14
69. BNOT REPLACE GROBOR SUB GROBXOR ZEROGROB Loop FOR UNTIL END TO WHILE STEP REPEAT END END DO BREAK Matrix ADDCOL REDI ADDROW REPLACE DELCOL SCALE DELROW SCALEADD EDITMA SUB RANDMAT SWAPCOL SWAP ROW Print PRDISPLAY PRHISTORY PRVAR Prompt BEEP GETKEY CHOOSE INPUT DISP MSGBOX DISPTIME PROMPT EDITMAT WAIT FREEZ Stat One DOIVSTATS SETFREQ RANDSEED SETSAMPL Stat Two DO2VSTATS SETDEPEND SETINDEP Reference information Selected status messages The status messages are Message Meaning Bad Argument Type Incorrect input for this operation Bad Argument The value is out of range for this Value operation Infinite Result Insufficient Memory Insufficient Statistics Data Invalid Dimension Invalid Statistics Data Invalid Syntax Name Conflict No Equations Checked Math exception such as 1 0 You must recover some memory to continue operation Delete one or more matrices lists notes or programs using catalogs or custom not built in aplets using SHIFT MEMORY Not enough data points for the calculation For two variable statistics there must be two columns of data and each column must have at least four numbers Array argument had wrong dimensions Need two columns with equal numbers of data values The function or command you entered does not include the proper arguments or order of arguments The delimiters parentheses commas pe
70. E T Press SHIFT SETUP NUM Sets FUNCTION NUMERIC SETUP SE Oi S503 adi NUMSTART parameters for building a table jisscrep Tt of numeric values NUMTYPE Automatic NUMzOOM 4 ENTER STARTING VALUE FOR TABLE Dn N E This view is only available in FEIR STATISTICS SYMBOLIC SETUP BEBE the Statistics aplet in 2VAR ANGLE MEASURE PERPEN SIFIVLinear f2Fit Linear mode where it plays an saFitLinear s4FItLinear important role in choosing data 2F TLinear models Press SETUP a T E E E SYMB Each view is a separate environment To change a view select a different view by pressing SYMB NUM PLOT keys or select a view from the VIEWS menu To change to HOME press HOME You do not explicitly close the current view you just enter another one like passing from one room into another in a house Data that you enter is automatically saved as you enter it You can save an aplet configuration that you have used and transfer the aplet to other HP 39G 40G calculators See Sending and receiving aplets on page 16 5 Getting started Mathematical calculations The most commonly used math operations are available from the keyboard Access to the rest of the math functions is via the MATH menu MATH To access programming commands press CMDS See Programming commands on page 15 14 for further information Where to start The home base for the calculator is the HOME v
71. E2 E8 E3 E9 E4 EO E5 Numeric Digits umCol Format umRow Note oteText Sketch Page PageNum Reference information R 13 Statistics aplet variables The statistics aplet variables are Category Available name Plot Axes S4mark Connect SSmark Coord StatPlot Grid Tracing Hmin Xcross Hmax Yoeross Hwidth Xtick Indep Ytick InvCross Xmin Labels xmax Recenter Ymin Simark Ymax S2mark XZoom S3mark Yxoom Symbolic Angle S3fit Slfit S4fit S2fit S5fit Numeric COp id NumFont Digits NumRow Format StatMode NumCol Stat One Maxd Q3 Mean PSDev Median SSDev Mind PVarL NX SVarX Ql Toth Stat Two Corr LX Cov EX2 Fit LEXY MeanX 2Y Meany Ly2 RelErr Note NoteText Sketch Page PageNum R 14 Reference information Menu maps of the MATH menu Math functions The math functions are Category Available name Calculus Complex Constant Hyperb List Loop Matrix f TAYLOR ARG CONJ ACOSH ASINH ATANH COSH SINH CONCAT ALIST MAKELIST TLIST POS ITERATE RECURSE x COLNORI COND CROSS DE DOT EIGENVAL EIGENVV IDENMAT INVERSE LQ LSQ LU MAKEMAT MAXREAL MINREAL O p x ORM Hj D G W Q ORM RAD HAAN 2 A a Oe en Q J W Z Reference information R 15 Category Av
72. ENTER HINT Ifthe Decimal Mark setting in the Modes input form SHIFT MODES is set to Comma use instead of 13 8 Lists HLIST POS REVERSE SIZE XLIST SORT Calculates the product of all elements in list HLIST list Example TILIST 2 3 4 returns 24 Returns the position of an element within a list The element can be a value a variable or an expression If there is more than one instance of the element the position of the first occurrence is returned A value of 0 is returned if there is no occurrence of the specified element POS list element Example POS 3 7 12 19 12 returns 3 Creates a list by reversing the order of the elements in a list REVERSE list Calculates the number of elements in a list SIZE list Also works with matrices Calculates the sum of all elements in list XLIST list Example XLIST 2 3 4 returns 9 Sorts elements in ascending order SORT list Lists Finding statistical values for list elements To find values such as the mean median maximum and minimum values of the elements in a list use the Statistics aplet Example In this example use the Statistics aplet to find the mean median maximum and minimum values of the elements in the list L1 l Create L1 with values 88 90 89 65 70 and 89 SHIFT 88 J900 ZEN STATISTICS 89 65 70 89 SHI
73. ETUP PLOT to define any of the settings shown Plot view settings in the next two tables 1 Highlight the field to edit If there is a number to enter type it in and press ENTER or H3 Tf there is an option to choose press EEEE highlight your choice and press ENTER or Hf As a shortcut to EETA just highlight the field to change and press to cycle through the options Tf there is an option to select or deselect press to check or uncheck it 2 Press E4 to view more settings 3 When done press PLOT to view the new plot The plot view settings are Field Meaning XRNG YRNG TRNG ORNG Specifies the minimum and 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 Parametric aplet Specifies the t values T for the graph Polar aplet Specifies the angle 0 value range for the graph Aplets and their views 2 5 Field Meaning Continued NRNG Sequence aplet Specifies the index N values for the graph TSTEP For Parametric plots the increment for the independent variable OSTEP For Polar plots the increment value for the independent variable SEQPLOT For Sequence aplet Stairstep or Cobweb types XTICK Horizontal spacing for tickmarks YTICK Vertical spacing for tickm
74. Executes the true clause sequence of commands if the test clause is true or the false clause sequence of commands if the test clause is false IF test clause THEN true clause ELSE false clause END Example 1 gt A IF A THEN MSGBOX A EQUALS 1 ELSE MSGBOX A IS NOT EQUAL TO 1 END Executes a series of test clause commands that execute the appropriate true clause sequence of commands Its syntax is CASE IF test clause THEN true clause END IF test clausey THEN true clausey END IF test clause THEN true clause END END When CASE is executed test clause is evaluated If the test is true true clause is executed and execution skips to END If test clause if false execution proceeds to test clause 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 40G as error conditions and are automatically treated as errors in programs IFERR THEN END allows a program to intercept error conditions that otherwise would cause the program to abort Its syntax is IFERR trap clause THEN error clause END 15 18 Programming RUN STOP Runs the named program If your program name contains special characters such as a space then you must enclose the file name in double quotes RUN program name
75. FT EES LP L1 oa ed a Rees Pere ee a aes oe cn 90 59 65 70 593L14 EAR a a ENTER 135 90 89 65 70 893 L1 irr4g 2100 7921 42255 Esto oo o o HINT Ifthe Decimal Mark setting in the Modes input form SHIFT MODES is set to Comma use instead of 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 oe a ries TOF BTA ALPHAJC1 7744 8100 7921 42255 i ibCi 086 90 29 65 78 593 Start the Statistics aplet and select 1 variable mode press HETES if necessary to display EEIE APLET Select Statistics Note Your list values are now in column C1 PINS SORT Ela 1vARe STATS 13 10 Lists 4 Inthe Symbolic view define H1 for example as C1 sample and 1 frequency Make sure that H1 is checkmarked SYMB ERDE STATISTICS SYMBOLIC VIEW ZERE HI Ci 1 H2 a H3 1 H4 1 7 ENTER SAMPLE CHAGE ee Be 5 Go to the Numeric view to display calculated statistics 1 vak See One variable on page 8 13 for the meaning of each computed statistic Lists 13 11 14 Notes and sketches Introduction The HP 39G 40G 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 When
76. G CEF KI 20998334 1494381 2955202 wncwne 5 98354166460E 2 oerN moor tic Joern HINT To jump to an independent variable value in the table use the arrow keys to place the cursor in the independent variable column then enter the value to jump to Automatic You can enter any new value in the X column When you press recalculation ENTER the values for the dependent variables are recalculated and the entire table is regenerated with the same interval between X values Building your own table of numbers The default NUMTYPE is Automatic which fills the table with data for regular intervals of the independent X T 0 or N variable With the NUMTYPE option set to Build Your Own you fill the table yourself by typing in the independent variable values you want The dependent values are then calculated and displayed Build a table 1 Start with an expression defined in Symbolic view in the aplet of your choice Note Function Polar Parametric and Sequence aplets only 2 Inthe Numeric Setup SHIFT NUM choose NUMTYPE Build Your Own Open the Numeric view NUM 4 Clear existing data in the table SHIFT CLEAR Enter the independent values in the left hand column Type in a number and press ENTER You do not have to enter them in order because the function can rearrange them To insert a number between two others use EE F1 an
77. HP 39G 40G GRAPHING CALCULATOR USER S GUIDE Version 1 1 LO SYMB PLOT NUM moa o ea lt Q OO HOME APLET VIEWS CHARS cmos L EEX CLEAR vars maTH d dx x70 DEL ASIN A ACOS B ATAN c at o 10 SIN cos TAN In log p i E ng F ABS G ARG H xi f x x a memory ur K f i MION gt 7 8 g x alpha O mmx L eo RAS ALPHA 4 5 6 procra 7 synraxU m Y w SHIFT i 2 3 ang SPACE OF NoTEPADX AND Z ON 0 ENTER O HEWLETT PACKARD Contents Preface Mantial conventions 5 5 lt ssce 285 sessces seca ts nen secuachvasegth ics pe cdedesb ces causeoscedstesacss P 1 Notice denenen eeen eE ee a in Bi Sa i a p 2 1 Getting started On off cancel Operations sieisen isisisi espinosos irrisorio stoi 1 1 Thecdisplay ornano nean E el A E eae eee 1 2 Th keyboard ciane r E a Aue mee 1 3 Menus oe eree reee aae o aie ni ei eA E EE OE 1 8 Input LOPS A E EE E AEE 1 9 Mode settings oori nenea ee sas EEES let EEEE E e Sali nites 1 9 Setting a MOS iseis irri eir soner risen eo ri E Eseo rE EE EEE EEE E EEG E e 1 11 Applets B 16SSOmNS ce cer c5 cc sckcs doen bts code wes A a a a o eaa 1 11 A ple til Drary s esine erranera siort te dehsvenschessbeeasteestveeasapscoeteas 1 15 Aplet VIEWSH ike eh An AAR aie dies a Reisen eh ela ee berber E Ei 1 15 Aplet view Confi
78. IFT MEMORY MEMORY MANAGER S EEHA Apl KE 21 Free memory is Programs 1KB lt 1 x Hotes BEB lt 1 displayed in the top right Matrices AKE lt 1 corner and the body of Lists IKB lt 1 the screen lists each category the memory it uses and the percentage of the total memory it uses Select the category with which you want to work and press E321 Memory Manager displays memory details of variables within the category vomm 1 REAL MATRIK MS 181 REAL MATRIX M4 141 REAL MATRIX MS 181 REAL MATRIX EDIT NEH SEND RECY 3 To delete variables in a category Press to delete the selected variable Press SHIFT CLEAR to delete all variables in the selected category Variables and memory management Matrices 12 Introduction Vectors Matrices Matrix Variables 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 123 456 is displayed in the history as 1 2 3 4 5 6 If the Decimal Mark in MODES is set to Comma then the row separators are periods You can enter matrices directly in the command line or create them in the matrix editor Vectors are one dimensional arrays They are composed of just one row A vector is represented with single brackets for example 1 2 3 A vector can be a real numb
79. List Matrix Modes Notepad Program Real ZO to Z9 For example 1 2 ZO or 243i Z1 You can enter a complex number by typing r i where r represents the real part and i represents the imaginary part G0 to G9 See Graphic commands on page 15 20 for more information on storing graphic objects via programming commands See To store into a graphics variable on page 14 5 for more information on storing graphic object via the sketch view Aplet library variables can store aplets that you have created either by saving a copy of a standard aplet or downloading an aplet from another source LO to L9 For example 1 2 3 EEET3L1 MO to M9 can store matrices or vectors For example 1 2 3 4 EZT MO Modes variables store the modes settings that you can configure using SHIFT MODES Notepad variables store notes Program variables store programs A to Z and 8 For example 7 45 A Variables and memory management Aplet variables To access an aplet variable 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 See the Reference Information chapter for more information about aplet variables Category Available names Function FO to F9 Symbolic view See Function aplet variables
80. ODES surt HOME MODES EHG Select Degrees HS CHOOSE ANGLE MEASURE a O O O CANEL Set up the plot 4 Display the graphing options SHIFT PLOT Erm PARAMETRIC PLOT SETUP TRNG TSTEP 1 HENG 6 5 6 5 YENG 3 1 3 2 ENTER MINIMUM TIME VALUE n PAGE T You can see the Plot Setup input form has two fields not included in the Function aplet TRNG and TSTEP TRNG specifies the range of t values TSTEP specifies the step value between t values 5 Set the TRNG and TSTEP so that t steps from 0 to 360 in 5 steps gt 360 HH ARAMETRIC PLOT SETUP 5 Wa TENG Gi 368 TSTEP 5 RNG 6 5 YENG 3 1 3 2 ENTER MINIMUM HORIZONTAL VALUE C a Plot the 6 Plot the expression expression T 0 0 3 HENU 7 To see all the circle press twice 4 2 Parametric aplet Overlay plot Display the numbers 8 9 Plot a triangle graph over the existing circle graph SHIFT PLOT ARAMETRIC PLOT SETUP v TRNG 368 TSTEP 120 foe KENG 6 5 YENG 3 1 3 2 ENTER MINIMUM HORIZONTAL VALUE EEDIT e PAGE T VIEWS Select Overlay Plot EE 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 You are able to explore the graph using trace zoom split screen and scaling functionality available in the Function aplet See Exploring the graph on page 2 7 for furth
81. OME and enter the calculation to left multiply the constants vector by the inverse of the coefficients matrix HOME ALPHA M2 SHIFT x ALPHA M1 7 Evaluate the calculation ENTER The result is a vector of the solutions e Sn e y 3 Z 2 Mesh Ma leM1 C2 3 2 ES E E a An alternative method is to use the RREF function See RREF on page 12 12 Matrix functions and commands About functions e Functions can be used in any aplet or in HOME They are listed in the MATH menu under the Matrix category They can be used in mathematical expressions primarily in HOME as well as in programs 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 The matrix input can be either a matrix variable name such as M1 or the actual matrix data inside brackets For example CROSS M1 1 2 Matrices 12 9 About commands Matrix commands are listed in the CMDS menu SHIFT CMDS in the matrix category See Matrix commands on page 15 23 for details of the matrix commands available for use in programming Functions differ from commands in that a function can be used in an expression Commands cannot be used in an expression Argument conventions For row or column
82. SESSE The Function aplet starts 7 in the Symbolic view Peo fyen a T SHO EVAL The Symbolic view is the defining view for Function Parametric Polar and Sequence aplets The other views are derived from the symbolic expression Function aplet 3 1 Define the expressions Set up the plot 2 There are 10 function definition fields on the Function aplet s Symbolic view screen They are labeled F1 X to FO X Highlight the function definition field you want to use and enter an expression You can press to delete an existing line or SHIFT CLEAR to clear all lines 1G S FUNCTION SYMBOLIC VIEH Se J K9 H30 y OA h F2 2 ENTER FECR F4cx FackKo 7 EEDIT y CHE HT HOH You can change the scales of the x and y axes graph resolution and spacing of axis ticks 3 Display plot settings SHIFT SETUP PLOT Detail ENTER MINIMUM HORIZONTAL VALUE PAGE Y Note For our example you can leave the plot settings at their default values since we will be using the Auto Scale feature to choose an appropriate y axis for our x axis settings If your settings do not match this example press SHIFT CLEAR to restore the default values 4 Specify a grid for the graph ERGER Hm A FUNCTION PLOT SET SIMULT INV CROSS CONNECT _ LABELS AES Tari DRAH GRID CHK amp PAGE Plot the 5 Plot the functions functions ga
83. To delete all lists In the List catalog press SHIFT CLEAR Transmitting lists 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 4 Press HEHA 5 Press on the receiving calculator Lists can also be transmitted to or from a computer a cable and Connectivity Kit 13 6 Lists List functions Following are details of list functions You can use them in HOME as well as in programs You can type in the name of Fc eT the function or you can copy MATH FUNCTIONS the name of the function from c Loop the List cat f th Matrix MAKELIST f gt Rhine ar SLF Polynom i TLIST ka MATH menu Press Sia sO the alpha L character key This displays the List category Press gt select a function and press H3 List functions have the following syntax Functions have arguments that are enclosed in parentheses and separated by commas Example CONCAT L1 L2 An argument can be either a list variable name such as L1 or the actual list For example REVERSE 1 2 3 If Decimal Mark in MODES is set to Comma use periods to separate arguments For example CONCAT L1 L2 Common operators like x and can take lists as arguments If there are two arguments and both are lists then the lists m
84. a value Two variable statistics The numbers below the plot indicate that the cursor is at the first data point for S2 at 1 6 Press gt to move to the next data point and display information about it 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 a rT TH H1 MED 13 Henu SaL 11 1 6 MENU SaL 111 6 MENU Statistics aplet Fitting a curve to 2VAR data Correlation coefficient Relative Error HINT In the Plot view press Hz This draws a curve to fit the checked two variable data set s See To choose the fit on page 8 11 HEHH A EIT 5 20 13 1 6 MENU SYMB ENZ STATISTICS SYMBOLIC VIEW See 1 C1 c2 Fiti 2 121951219511 v52 C3 et ENTER USER coin FIT PEoIT WcHK oh SHOW EVAL Hil The expression in Fit2 1 98882191781 4 2 2657 shows that the slope 1 98082191781 and aS se 2 the y intercept 2 2657 The correlation coefficient is stored in the CORR variable It is a measure of fit to a linear curve only Regardless of the Fit model you have chosen CORR relates to the linear model The relative error is stored in a variable named RELERR The relative error provides a measure of fit accuracy for all fits and it does depend on the Fit model you have chosen The relative error is
85. ailable name Continued Polynom Prob Real Stat Two Symbolic Tests Trig POLYCOEF POLYEVAL COMB PERM RANDOM CEILING DEG RAD FLOOR FNROOT FRAC HMS gt HMS INT ANT A x PRI PRI DX DY Ei ISOLATE LINEAR A V V ACOT ACSC ASEC POLYFORM POLYROOT UTPC UTPF UTPN UTPT ae ol ole Ha I gt Zz Q inal W C zZ Q D q ira QUAD QUOTI Fl AND OR XOR COT CSC Reference information Program constants The program constants are Category Available name Angle Format SeqPlot S1 5fit StatMode StatPlot Degrees Grads Radians Standard Fixed Cobweb Stairstep Linear LogFit ExpFit Power Stat1Var Stat2Var Hist Boxw Sci Eng Fraction QuadFit Cubic Logist User Reference information Program commands The program commands are Category Command Aplet CHECK SELECT SETVIEWS UNCHECK Branch IF CASE THEN IFERR ELSE RUN END STOP Drawing ARC LINE BOX PIXOFF ERASE PIXO FREEZE TLINE Graphic DISPLAYR MAKEGROB RDISPLAY PLOTR RGROB RPLOT GRO
86. alled from the VIEWS menu are transferred when the aplet is transferred for example to another calculator or to a PC e 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 For example these can be sub programs that menu options use or the program that defines the aplet s VIEWS menu e 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 Command syntax The syntax for the command is as follows SETVIEWS Promptl ProgramName 1 ViewNumber1 Prompt2 ProgramName2 ViewNumber2 You can repeat as many Prompt ProgramName ViewNumber trios of arguments as you like Within each Prompt ProgramName ViewNumber trio you separate each item with a semi colon Prompt Promptis the text that is displayed for the corresponding entry in the Views menu Enclose the prompt text in double quotes Associating programs with your aplet If Prompt consists of a single space then no entry appears in the view menu The program specified in the ProgramName item is associated with the aplet and transferred whenever the aplet is transmitted Typically you do this if you want to transfer the Setviews program with the aplet
87. alues of specific statistics variables The values computed in the Statistics aplet are saved in variables and many of these variables are listed by the function accessible from the Statistics aplet s Numeric view screen Getting started with the Statistics aplet The following example asks you to enter and analyze the advertising and sales data in the table below compute statistics fit a curve to the data and predict the effect of more advertising on sales Advertising minutes Resulting independent x Sales dependent y 2 1400 1 920 3 1100 5 2265 5 2890 4 2200 Statistics aplet 8 1 Open the Statistics aplet Enter data l 3 Open the Statistics aplet and clear existing data by pressing H35 APLET Select Statistics Fi The Statistics aplet PEDIT INS SORT BIG 1VAR STATS starts in the Numerical view 1VAR 2VAR menu key label At any time the Statistics aplet is configured for only one of two types of statistical explorations one variable 2H or two variable H The 5th menu key label in the Numeric view toggles between these two options and shows the current option Select HHA You need to select HIA because in this example we are analyzing a dataset comprising two variables advertising minutes and resulting sales Enter the data into the columns 2 ENTER ENTER 3 ENTER S ENTER 5 ENTER 4 ENTER fa
88. am catalog The Program catalog displays a list of program names If you haven t created any programs the only name you ll see is Editline Press PROGRM Editline contains the last expression that you entered from the edit line in HOME or the last data you entered in an input form If you press ENTER from HOME without entering any data the HP 39G 40G runs the contents of Editline Editline is a built in function ROGRAM CATALOG Program catalog menu Before starting to work with programs you should take a few minutes to become familiar with the Program catalog menu keys You can use any of the following keys both menu and keyboard to perform tasks in the Program catalog 15 2 Programming Program catalog keys The program catalog keys are Key Meaning EDIT Opens the highlighted program for editing Prompts for a new program name then opens an empty program Transmits the highlighted program to another HP 39G 40G or to a disk drive EECH Receives the highlighted program from another HP 39G 40G or from a disk drive EUH Runs the highlighted program SHIFT or Moves to the beginning or end of the Program catalog DEL Deletes the highlighted program SHIFT CLEAR Deletes all programs in the program catalog Programming 15 3 Creating and editing programs Create a new Press SHIFT PROGRM to open the Program catalog
89. am name to run the program before the standard menu option is selected The third argument specifies the view and the menu number for the item Determine the menu number from the View numbers table below Note SETVIEWS with no arguments resets the views to default of the base aplet 15 16 Programming View numbers The views are numbered as follows 0 HOME 11 List Catalog 1 Plot 12 Matrix Catalog 2 Symbolic 13 Notepad Catalog 3 Numeric 14 Programs Catalog 4 Plot Setup 15 Plot Detail 5 Symbolic Setup 16 Plot Table 6 Numeric Setup 17 Overlay Plot 7 Views 18 Auto scale 8 Note 19 Decimal 9 Sketch view 20 Integer 10 Aplet Catalog 21 Trig UNCHECK Unchecks unselects the corresponding function in the current aplet For example Uncheck 3 would uncheck F3 if the current aplet is Function UNCHECK n Branch commands Branch commands let a program make a decision based on the result of one or more tests Unlike the other programming commands the branch commands work in logical groups Therefore the commands are described together rather than each independently IF THEN END Executes a sequence of commands in the true clause only if the test clause evaluates to true Its syntax is IF test clause THEN true clause END Example 1 gt A IF A THEN MSGBOX A EQUALS 1 END Programming 15 17 IF THEN ELSE END CASE END IFERR THEN END
90. and Ea keys The Page variable refers to the currently displayed page of a sketch set In a program type graphicname Page PageNum Index for referring to a particular page of the sketch set in All Aplets Sketch view In a program type the page that is shown when SKETCH is pressed n gt PageNum 15 42 Programming 16 Extending aplets Aplets are the application environments where you explore different classes of mathematical operations You can extend the capability of the HP 39G 40G in the following ways e Create new aplets based on existing aplets with specific configurations such as angle measure graphical or tabular settings and annotations Transmit aplets between HP 39G calculators via an infra red link e Download e lessons teaching aplets from the Hewlett Packard s Calculator web site e Program new aplets See chapter 15 Programming for further details Creating new aplets based on existing aplets You can create a new aplet based on an existing aplet To create a new aplet save an existing aplet under a new name then modify the aplet to add the configurations and the functionality that you want You can send your aplet to other calculators so that other people can use it Information that defines an aplet is saved automatically as it is entered into the calculator To keep as much memory available for storage as possible delete any aplets you no longer need
91. appears on the menu START EXP S 7 This specifies the Start menu option The program that is associated with this entry EXP S runs automatically when you start the aplet Because this menu option specifies view 7 the VIEWS menu opens when you start the aplet 15 12 Programming You only need to run this program once to configure your aplet s VIEWS menu Once the aplet s VIEWS menu is configured it remains that way until you run SETVIEWS again You do not need to include this program for your aplet to work but it is useful to specify that the program is attached to the aplet and transmitted when the aplet is transmitted Return to the program catalog The programs Ex that you created should EXP ANG 15KB appear as follows i OGRAM CATALOG SEER You must now RUN the program EXP SV to execute the SETVIEWS command and create the modified VIEWS menu Check that the name of the new aplet is highlighted in the APLET view You can now return to the APLET library and press START to run your new aplet Programming 15 13 Programming commands This section describes the commands for programming with HP 39G 40G You can enter these commands in your program by typing them or by accessing them from the Commands menu Aplet commands CHECK SELECT SETVIEWS These commands control aplets Checks selects the corresponding function in the current aplet For example Check 3
92. arks Those items with space for a checkmark are settings you can turn on or off Press EA 4 to display the second page Field Meaning SIMULT If more than one relation is being plotted plots them simultaneously otherwise sequentially INV CROSS Cursor crosshairs invert the status of the pixels they cover CONNECT Connect the plotted points The Sequence aplet always connects them LABELS Label the axes with XRNG and YRNG values AXES Draw the axes GRID Draw grid points using XTICK and YTICK spacing Reset plot To reset the default values for all plot settings press p 8S P settin gs SHIFT CLEAR in the Plot Setup view To reset the default value for a field highlight the field and press DEL 2 6 Aplets and their views Exploring the graph Plot view gives you a selection of keys and menu keys to explore a graph further The options vary from aplet to aplet PLOT view keys the graph The following table details the keys that you use to work with Key Meaning SHIFT CLEAR VIEWS EIME TRACE iso Erases the plot and axes Offers additional pre defined views for splitting the screen and for scaling zooming the axes Moves cursor to far left or far right Moves cursor between relations Interrupts plotting Continues plotting if interrupted Turns menu key labels on and off When
93. back in Press the key Reference information R 5 Glossary aplet command expression function HOME Library list matrix A small application limited to one topic The built in aplet types are Function Parametric Polar Sequence Solve and Statistics An aplet can be filled with the data and solutions for a specific problem It is reusable like a program but easier to use and it records all your settings and definitions An operation for use in programs Commands can store results in variables but do not display results Arguments are separated by semi colons such as DISP expression line A number variable or algebraic expression numbers plus functions that produces a value An operation possibly with arguments that returns a result It does not store results in variables The arguments must be enclosed in parentheses and separated with commas or periods in Comma mode such as CROSS matrix1 matrix2 The basic starting point of the calculator Go to HOME to do calculations For aplet management to start save reset send and receive aplets A set of values separated by commas periods if the Decimal Mark is 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 A two dimensional array of values separated by commas periods if the Decimal Mar
94. ble name Continued Symbolic Angle Y5 X1 X6 YL Y6 X2 X7 Y2 Y7 X3 X8 3 Y8 X4 x9 Y4 Y9 X5 X0 YO Numeric Digits NumRow Format NumStart NumCol NumStep NumFont NumType NumIndep NumZoom Note NoteText Sketch Page PageNum The polar aplet variables are Category Available names Axes Connect XCross Coord Ycross Grid Xtick Indep Ytick InvCross Xmin Labels Xmax Recenter Ymin Simult Ymax Umin XZOoom Umax Yxoom O step Tracing Symbolic Angle R6 R1 R7 R2 R8 R3 R9 R4 RO R5 Reference information Sequence aplet variables Category Available names Continued Numeric Digits NumRow Format NumStart NumCol NumStep NumF ont NumType NumIndep NumZoom Note NoteText Sketch Page PageNum The sequence aplet variables are Category Available name Plot Axes Tracing Coord Xcross Grid Ycross Indep Xtick InvCross Ytick Labels Xmin Nmin Xmax Nmax Ymin Recenter Ymax SeqPlot Xzoom Simult Yzoom Symbolic Angle U6 U1 U7 U2 U8 U3 U9 U4 U0 U5 Numeric Digits umRow Format umStart NumCol umStep NumFont umType NumIndep umZoom Note NoteText Sketch Page PageNum Reference information Solve aplet variables The solve aplet variables are Category Available name Plot Axes Xcross Connect Ycross Coord Xtick FastRes Ytick Grid Xmin Indep xmax InvCross Ymin Labels Ymax Recenter Xzoom Tracing Yxoom Symbolic Angle E6 El E7
95. bles Aplets and their views Setting up the table numeric view setup Press SHIFT NUM to define BES FUNCTION NUMERIC SETUP She any of the table settings Use MUMSTakT Ey MUMSTEP 1 the Numeric Setup input NUMTYPE Automatic form to configure the table MUMZOOM 4 ENTER STARTING VALUE FOR TABLE 1 Highlight the field to edit Use the arrow keys to move from field to field If there is a number to enter type it in and press or EES To modify an existing number press E Tfthere is an option to choose press EEH highlight your choice and press or ES Shortcut Press the key to copy values from the Plot Setup into NUMSTART and NUMSTEP Effectively the menu key allows you to make the table match the pixel columns in the graph view 2 When done press to view the table of numbers Numeric view The following table details the fields on the Numeric Setup settin gs input form Field Meaning NUMSTART NUMSTEP NUMTYPE NUMZOOM The independent variable s starting value The size of the increment from one independent variable value to the next Type of numeric table Automatic or Build Your Own To build your own table you must type each independent value into the table yourself Allows you to zoom in or out on a selected value of the independent variable Reset numeric To reset the default values for all table settings p
96. cates none a program name and a number that defines the view to go to after the program has run its course All programs listed here will transfer with an aplet when the aplet is transferred Programming 15 11 SETVIEWS 18 Sets the first menu option to be Auto scale This is the fourth standard Function aplet view menu option and the 18 Auto scale specifies that it is to be included in the new menu The empty quotes will ensure that the old name of Auto scale appears on the new menu See SETVIEWS on page 15 14 My Entry1 EXP ME1 1 Sets the second menu option This option runs program EXP ME1 then returns to view 1 Plot view m My Entry2 tr EXP ME2 Hs 3 Sets the third menu option This option runs the program EXP ME2 then returns to view 3 the NUM view m ir EXP sv 0 This line specifies that the program to set the View menu this program is transferred with the aplet The space character between the first set of quotes in the trio specifies that no menu option appears for the entry You do not need to transfer this program with the aplet but it allows users to modify the aplet s menu if they want to 1 EXP ANG 0 The program EXP ANG is a small routine that is called by other programs that the aplet uses This entry specifies that the program EXP ANG is transferred when the aplet is transferred but the space in the first quotes ensures that no entry
97. ce information To erase all memory and reset defaults If the calculator does not respond to the above resetting procedures you might need to restart it by erasing all of memory You will lose everything you have stored All factory default settings are restored 1 Press and hold the key the first menu key and the last menu key simultaneously 2 Release all keys Note To cancel this process release only the top row keys then press the third menu key If the calculator does not turn on If the HP 39G 40G 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 If the calculator still does not turn on please contact Customer Support for further information 1 Press and hold the ON key for 10 seconds 2 Press and hold the ON key and the third menu key simultaneously Release the third menu key then release the key 3 Press and hold the ON key the first menu key and the sixth menu key simultaneously Release the sixth menu key then release the first menu key and then release the key 4 Locate the small hole in the back of the calculator Insert the end of a straightened metal paper clip into the hole as far as it will go Hold it there for 1 second then remove it Press the key 5 Remove the batteries see Batteries on page R 7 press and hold the key for 10 seconds and then put the batteries
98. column then highlight an item in the right column The list in the right column changes when a different category is highlighted Press MS or when you have highlighted your selection To speed search a list with no edit line type the first letter of the word For example to find the Matrix category in MATH press the Alpha M key To go up a page you can press 4 To go down a page press SHIFT gt Press for CANCEL or 135 This cancels the current operation 1 8 Getting started Input forms An input form shows several fields of information for you to examine and specify After highlighting the field to edit you can enter or edit a number or expression You can also select options from a list BEEZ Some input forms include items to check 23H See below for an example of an input form UNCTION PLOT SETU _INY YRNG 73 Z CONNECT LABELS TICK 1 ZARES _ GRID RES Faster ENTER MINIMUM HORIZONTAL VALUE PLOT FUNCTIONS SIMULTANEOUSLY peor _ Pace _ _ S CHK A PAGE _ Reset in put To reset a default field value in an input form move the cursor form values to that field and press DEL To reset all default field values in the input form press SHIFT CLEAR Mode settings You use the Modes input form to set the modes for HOME HINT Although the numeric setting in Modes affects only HOME the angle setting controls HOME and t
99. d F2 entries are generated automatically You enter numbers into j the X column PINS SORT BIG CEFN 2 18 Aplets and their views Clear data Press SHIFT CLEAR H to erase the data from a table Build Your Own menu keys Key Meaning ET DEL SHIFT CLEAR Puts the highlighted independent value X T 8 or N into the edit line Pressing ENTER replaces this variable with its current value Inserts a row of zero values at the position of the highlight Replace a zero by typing the number you want and pressing ENTER Sorts the independent variable values into ascending or descending order Press and select the ascending or descending option from the menu and press Eis Toggles between two character sizes Displays the defining function expression for the highlighted column Deletes the highlighted row Clears all data from the table Aplets and their views Example plotting a circle Plot the circle x7 y 9 First rearrange it to read y 9 x To plot both the positive and negative y values you need to define two equations as follows y Jo and y J9 x 1 Inthe Function aplet specify the functions APLET Select EERE FUNCTION SVMEOLIC VIEW Se ti THRT FicKI fC9 Kea Function SE F sHIFT V 0 9 Fa xT D ENTER Fyexje x HT V 0 9 Es T 0 eset the graph setup to the defaul
100. details The variable ANS is different from the numbers in HOME s display history A value in ANS is stored internally with the full precision of the calculated result whereas the displayed numbers match the display mode When you retrieve a number from ANS you obtain the 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 SHIFT ANS copies the last result as ANS into the edit line 1 22 Getting started Storing a value in a variable Accessing the display history You can save an answer in a variable and use the variable in later calculations There are 27 variables available for storing real values These are A to Z and 0 See Chapter 11 Variables and memory management for more information on variables For example 1 Perform a calculation 45 8 x3 ENTER 2 Store the result in the A variable FRG ALPHA A ENTER 3 Perform another calculation using the A variable 95 2 X ALPHA A Pressing a enables the highlight bar in the display history While the highlight bar is active the following menu and keyboard keys are very useful Key Function a Y Scrolls through the display history SLE Copies the highlighted expression to the position of the cursor in the edit line Enma Displays t
101. distribution to calculate a confidence interval for u the true mean of a population for the case in which the true population standard deviation is unknown Inputs The inputs are Field name Definition x Sample mean Sx Sample standard deviation n Sample size C Confidence level Results The results are Result Description Critical T Critical value for T u Min Lower bound for u u Max Upper bound for u 9 20 Inference aplet Two Sample T Interval Menu name T INT wl u2 This option uses the Student s t distribution to calculate a confidence interval for the difference between the means of two populations u4 H2 when the population standard deviations 6 and 6 are unknown Inputs The inputs are Field name Definition x1 Sample 1 mean x2 Sample 2 mean sl Sample 1 standard deviation s2 Sample 2 standard deviation nl Sample 1 size n2 Sample 2 size C Confidence level _Pooled Whether or not to pool the samples based on their standard deviations Results The results are Result Description Critical T Critical value for T Au Min Lower bound for py M Au Max Upper bound for u4 W Inference aplet 9 21 10 Using mathematical functions Math functions The HP 39G 40G contains many math functions The functions are grouped in categories For example the Matrix category contains functions for manipulating matrices The Probability categor
102. e extremum of the quadratic HINT Display the numeric view 18 Display the numerical value of the integral Note See Shading area on page 3 10 for another method of calculating area AREA 2 16666666666 19 Move the cursor to the quadratic equation and find the extremum of the quadratic a GE aa Select Ext remum The coordinates of the extremum are displayed at the bottom of the screen EXTRM 3 2 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 You need to re locate the cursor to find other roots or extrema that may exist 20 Display the numeric view NUM Set up the 21 Display the numeric setup table SHIFT SETUP NUM SE FUNCTION NUMERIC SETUP SRE NUMSTART NUMSTEP 1 NUMTYPE Automatic NUMzOOM 4 ENTER STARTING VALUE FOR TABLE a ee PLOTR See Setting up the table numeric view setup on page 2 16 for more information 3 6 Function aplet Explore the table To navigate around a table To go directly toa value To access the zoom options 22 23 24 25 26 Match the table settings to the pixel columns in the graph view S FUNCTION NUMERIC SETUP A NUMZTART NUMSTEP 1 MUMTYPE Automatic NUMZOOM 4 ENTER STARTING VALUE FOR TABLE Display a table
103. e to decimal places Accepts complex numbers RUNCATE value places Example RUNCATE 2 3678 2 returns 2 36 Exponent of value XPON value Example XPON 123 4 returns 2 These are functions for use with two variable statistics See Two variable on page 8 14 10 18 Using mathematical functions Symbolic functions equals ISOLATE LINEAR QUAD 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 anumber You will find the symbols for the symbolic functions and where in the CHARS menu SHIFT CHARS as well as the MATH menu Sets an equality for an equation This is not a logical operator and does not store values See Test functions on page 10 20 expression expression2 Isolates the first occurrence of variable in expression 0 and returns a new expression where variable newexpression The result is a general solution that represents multiple solutions by including the formal variables s to represent any sign and n to represent any integer ISOLATE expression variable Examples ISOLATE 2 X 8 X returns 4 ISOLATE A B X C X returns A C B Tests whether expression is linear for the specified variable Returns 0 false or 1 true LINEAR expression variable Example LINEAR X 2 1 X 1
104. e within all aplets and within any programs e Aplet variables apply only to a single aplet Aplets have specific variables allocated to them which vary from aplet to aplet You use the calculator s memory to store the following objects e copies of aplets with specific configurations e new aplets that you download e aplet variables e home variables e variables created through a catalog or editor for example a matrix or a text note e programs that you create You can use the Memory Manager SHIFT MEMORY to view the amount of memory available The catalog views which are accessible via the Memory Manager can be used to transfer variables such as lists or matrices between calculators Variables and memory management 11 1 Storing and recalling variables Numeric Precision To store a value 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 Numeric precision in the display however depends on the display mode Standard Fixed Scientific Engineering or Fraction A displayed number has only the precision that is displayed If you copy it from the HOME view display history you obtain only the precision displayed not the full internal precision On the other hand the variable Ans always contains the most recent result to full precision 1 On the command line enter the value
105. ecimal places Examples 123 456789 becomes 123 in Fraction 2 format and 333 becomes 1 3 and 0 142857 becomes 1 7 See Using fractions on page 1 24 Dot or Comma Displays a number as 12456 98 Dot mode or as 12456 98 Comma mode Dot mode uses commas to separate elements in lists and matrices and to separate function arguments Comma mode uses periods dot as separators in these contexts Getting started Setting a mode This example demonstrates how to change the angle measure from the default mode radians to degrees for the current aplet The procedure is the same for changing number format and decimal mark modes 1 Press SHIFT MODES to open the HOME MODES input form The cursor highlight is in the first field Angle Measure Press to display a list of choices Press a to select Degrees and press MH The angle measure changes to degrees Press to return to HOME ANGLE MEASURE ERPE NUMBER FORMAT Fraction 4 DECIMAL MARE Dot CHOOSE ANGLE MEASURE mm Es AN an Dearses 4 Ty Grads CHOOSE ANGLE MEASURE CANEL OK ANGLE MEASURE Ryle NUMBER FORMAT Fraction 4 DECIMAL MARE Dot CHOOSE ANGLE MEASURE a CHODE fs 2 HINT Whenever an input form has a list of choices for a field you can press to cycle through them instead of using EES Aplets E lessons Aplets are the application environments where you ex
106. ected value of 0 5 To see if the difference is statistically significant we will use the statistics computed here to construct a confidence interval for the true mean of the population of random numbers and see whether or not this interval contains 0 5 Press HH to close the computed statistics window Open the Inference aplet and clear current settings APLET Select ESBS INF STAT SYMEDLIC VIE Inference RESETIVES TE Z2 Test 1 p ALT HYPOTH p lt pA Choose an inferential Hethod 9 6 Inference aplet Choose 7 inference method and type 8 Set up the 9 interval calculation Import the data 10 Choose an inference method Sraa A INTERVAL SE IMF STAT SYMEOLIC VIEH ma gt METHOD COMF TMTERYVAL TYRE Z IHT 1 p Choose an inferential Hethod Choose a distribution statistic type BA SSS INF STAT SYMBOLIC VIEH Select T Int 1 u KETHOD CONF INTERWAL TFE MGEN Choose distribution statistic Set up the interval calculation Note The default values are sample data from the on line help example SETUP NUM STAT NUMERIC SETUP ZE 461363 SOHple wean HELP IMPRT Import the data from the Statistics aplet Note The data from C1 is displayed by default Telia Note If there are other columns of data in the Statistics aplet you could select a column and press 7 to see the statistics before importing them into the Numeric Setup view A
107. ed parts equivalent to new in performance or may have been subject to incidental use Warranty does not apply to defects resulting from a improper or inadequate maintenance or calibration b software interfacing parts or supplies not supplied by HP c unauthorized modification or misuse d operation outside of the published environmental specifications for the product or e improper site preparation or maintenance HP MAKES NO OTHER EXPRESS WARRANTY OR CONDITION WHETHER WRITTEN OR ORAL TO THE EXTENT ALLOWED BY LOCAL LAW ANY IMPLIED WARRANTY OR CONDITION OF MERCHANTABILITY SATISFACTORY QUALITY OR FITNESS FOR A PARTICULAR PURPOSE IS LIMITED TO THE DURATION OF THE EXPRESS WARRANTY SET FORTH ABOVE Some countries states or provinces do not allow limitations on the duration of an implied warranty so the above limitation or exclusion might not apply to you This warranty gives you specific legal rights and you might also have other rights that vary from country to country state to state or province to province TO THE EXTENT ALLOWED BY LOCAL LAW THE REMEDIES IN THIS WARRANTY STATEMENT ARE YOUR SOLE AND EXCLUSIVE REMEDIES EXCEPT AS INDICATED ABOVE IN NO EVENT WILL HP OR ITS SUPPLIERS BE LIABLE FOR LOSS OF DATA OR FOR DIRECT SPECIAL INCIDENTAL CONSEQUENTIAL INCLUDING LOST PROFIT OR DATA OR OTHER DAMAGE WHETHER BASED IN CONTRACT TORT OR OTHERWISE Some countries States or provinces do not allow the exclusion or l
108. een ROOT 1 585780643763 MENU Find the intersection of the two functions ET E y HS Slope JSigned ares JExtremum pa L ee CANEL Choose the linear function whose intersection with the quadratic function you wish to find ANCL DK The coordinates of the intersection point are displayed at the bottom of the screen Note If there is more I SECT 71 23 MENU than one intersection as in our example the coordinates of the intersection point closest to the current cursor position are displayed Function aplet To find the slope of the quadratic function To find the signed area of the two functions 13 14 15 16 17 Find the slope of the quadratic function at the intersection point TE BL Select Slope The slope value is Do in Sie displayed at the bottom FLUFE EN of the screen To find the area between the two functions in the range 2 lt x lt 1 first move the cursor to F1 x 1 x and select the signed area option AE BL Select Signed area EOE START 1 Move the cursor to x 1 by pressing the gt or 4 key OE LERES TETA Press to accept using F2 x x 3 2 as the other boundary for the integral Choose the end value for x 2 The cursor jumps to x 2 on the linear function COR END 2 Function aplet 3 5 To find th
109. een for example Plot Setup CLEAR returns all settings to their default values Moves the cursor around the display Press SHIFT first to move to the beginning end top or bottom Displays a menu of all available characters To type one use the arrow keys to highlight it and press H3 To select multiple characters select each and press HAH then press H3 Getting started Shifted keystrokes HELPWITH Example There are two shift keys that you use to access the operations and characters printed above the keys SHIFT and ALPHA Key Description SHIFT Press the key to access the operations printed in blue above the keys For instance to access the Modes screen press SHIFT then press HOME MODES is labelled in blue above the key You do not need to hold down when you press HOME This action is depicted in this manual as press SHIFT MODES To cancel a shift press SHIFT again The alphabetic keys are also shifted keystrokes For instance to type Z press ALPHA Z The letters are printed in orange to the lower right of each key To cancel Alpha press ALPHA again For a lower case letter press SHIFT ALPHA For a string of letters hold down while typing 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 SHIFT SYNTAX and
110. een solid crosshairs or inverted crosshairs All Aplets Inverted is useful if the background is solid From Plot Setup check or uncheck _InvCross or In a program type 1 gt InvCross to invert the crosshairs 0 InvCross for solid crosshairs default Isect Contains the last value found by the Intersection function in Function the Plot FCN menu Labels Draws labels in Plot view showing X and Y ranges All Apleis From Plot Setup check or uncheck _Labels or In a program type 1 Labels to turn labels on 0 Labels to turn labels off default 15 32 Programming Nmin Nmax Sequence Recenter All Aplets Root Function S1mark S5mark Statistics SeqPlot Sequence 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 or In a program type n gt Nmin Ny gt Nmax where n gt n Recenters at the crosshairs locations when zooming From Plot Zoom Set Factors check or uncheck _ Recenter or In a program type 1 Recenter to turn recenter on default 0 gt Recenter to turn recenter off Contains the last value found by the Root function in the Plot FCN menu Defines the mark to use for statistics 2 variable scatter plots From Plot Setup for two variable statistics Slmark S5mark then choose a mark or In a program type n gt Slmark where n is 1 2 3 5 Togg
111. ees 8 1 Getting started with the Statistics aplet eee eeeeeeeeeeeeteeeeee 8 1 Entering and editing statistical data cece ceeesseceeceseeteeeseerees 8 5 Defining a regression model 2VAR ce eeeeeeseceeceseeteceseeeeeeeees 8 11 Computed statistics cece esceeceseeeeceseeeeceeeeeeseeeeseesseeseecaecaeaeesaeeaes 8 13 Plotting eoira sessed pesdscess es sSevess ces soea sp Epa oS EA eae s TEES ESERIES 8 15 Plot type Soone e e aO Re EE A E E EE 8 16 Fitting a curve to 2VAR data eee ce eeseeeeceeeeeeceeeeeeseeeeaeeeneesees 8 17 Setting up the plot Plot setup VieW 0 eee ee eeeseecseeeeeeeeeeeteees 8 18 Trouble shooting a plot eee eee eceesceeseeeceseeeeecseeseecseeaecseenseesees 8 19 Exploring the graph sicci c s6scs scstdei tieneet rn e 8 20 Calculating predicted values eee cseeecseceseceeceseeseceeeeseeeees 8 21 Contents 9 Inference aplet About the Inference aplet sc c c sscsscscessseisteyessestatenessecdioeg ar 9 1 Getting started with the Inference aplet 0 eee eeeeeeeeeeeeeee 9 2 Importing Sample Statistics from the Statistics aplet 0 9 5 Hypothesis testre dines chine sini eE aE E eed eek ie ie eis 9 9 One Sample Z Test csie tiesios ipie sineresia Eeer ekri Ei Esos 9 9 Two Sample Z Test e seseeeseeeeseseesereesreresererrrreresessereesrreeseeerrreeree 9 10 One Proportion Z Test 0 eee ceesseceseeseceeceseeseeeseeeeseseeeaecnaeeaeenaes 9 11 Two Proportion Z TeSt eee eseeseeseecsecs
112. eir names from the keyboard You can create edit delete send and receive named lists in the List catalog SHIFT L ST You can also create and store lists named or unnnamed in HOME Creating lists List variables are identical in behaviour to the columns C1 CO in the Statistics aplet You can store a statistics column to a list or vice versa and use any of the list functions on the statistics columns or the statistics functions on the list variables Create a list in 1 Open the List catalog the List SHIFT LIST i 5 Catalog 2 Highlight the list name S BKB L3 Size 5 BEB you want to use Ll etc L4 Size BKB and press Esto display LS Size 8 BKB v es a the List editor EDIT peor NS _ Lists 13 1 3 Enter the values you want in the list pressing ENTER after each one Values can be real or complex numbers or an expression If you enter a calculation it is evaluated and the result peor Ns 7 is inserted in the list 4 When done press SHIFT LIST to see the List catalog or press to return to HOME List catalog keys The list catalog keys are Meaning aes ECH EL B SHIFT CLEAR IFT Y or CIE Opens the highlighted list for editing Transmits the highlighted list to another HP 39G 40G or a PC See Sending and receiving aplets on page 16 5 for further informati
113. element For example if L2 is element 3 4 5 6 then L2 2 ENTER returns 4 To edit a list 1 Open the List catalog SHIFT LIST 2 Press a or to highlight the name of the list you want to edit L1 etc and press FEE to display the list contents EDIF 3 Press 4 or to highlight the element you want to edit In this example edit the third element so that it has a value of 5 Kaea DEL DEL 1 5 5 a L o ANL DE 4 Press HA 1 86 2 98 3 5 4 65 a r k EE A A 13 4 Lists To insert an 1 Open the List catalog element in a list LIST 2 Press a or Y to highlight the name of the list you want to edit L1 etc and press to display the list contents EDIT 3 Press a or to the insertion position New elements are inserted above the highlighted position In this example an element with the value of 9 is inserted between the first and second elements in the list v IHS 9 4 65 J4 E A 4 Press H Ss 65 7 To store one In HOME enter value listname element For example element to store the second element of L1 to 148 type 148 ERET31 1 2 ENTER Lists 13 5 Deleting lists To delete a list In the List catalog highlight the list name and press DEL You are prompted if you want to delete the contents of the highlighted list variable Press ENTER to delete the contents
114. en highlight the program you want to copy Press GETE3 then press His ey SS A The contents of the highlighted program are copied into the current program at the cursor location If you use a programming routine often save the routine under a different program name then use the above method to copy it into your programs You can send programs to and receive programs from other calculators just as you can send and receive aplets matrices lists and notes After aligning the calculators infrared ports open the Program catalogs on both calculators Highlight the program to send then press on the sending 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 You can delete any program except Editline 1 Press SHIFT PROGRM to open the Program catalog 2 Highlight a program to delete then press DEL 15 8 Programming Delete all You can delete all programs at once programs 1 Inthe Program catalog press SHIFT CLEAR 2 Press HB Delete the You can clear the contents of a program without deleting the contents of a program name program 1 Press SHIFT PROGRM to open the Program catalog 2 Highlight a program then press ETE 3 Press SHIFT CLEAR
115. enu 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 10 23 Ovariable expression Example s1 s12 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 J lower upper expression variable See Using formal variables on page 10 22 for further details Example J 0 s1 2 X 3 X ENTER a I ENTER finds the indefinite result 3 s1 2 s1 2 2 See To find the indefinite integral using formal variables on page 10 25 for more information on finding indefinite integrals Calculates the nth order Taylor polynomial of expression at the point where the given variable 0 TAY LOR expression variable n Example TAYLOR 1 sin s1 a s1 5 with Radians angle measure and Fraction number format set in MODES returns 1 s1 2 1 3 s1 4 Using mathematical functions Complex number functions These functions are for complex numbers only You can also use complex numbers with all trigonometric and hyperbolic functions and with some real number and keyboard functions Enter complex numbers in the form x y whe
116. er 15 33 Ycross 15 36 setting date 15 26 time 15 26 sign reversal 7 6 sine 10 4 inverse hyperbolic 10 9 singular value decomposition matrix 12 12 singular values matrix 12 12 l 10 Index sketches creating 14 5 creating a blank graphic 15 22 creating a set of 14 5 erasing a line 15 20 labeling 14 5 opening view 14 3 sets 14 5 storing in graphics variable 14 5 slope interactive 3 9 soft key labels 1 2 solve error messages 7 7 initial guesses 7 5 interpreting intermediate guesses 7 7 interpreting results 7 6 plotting to find guesses 7 8 setting number format 7 5 solve variables Axes 15 30 Connect 15 30 FastRes 15 31 Grid 15 31 in menu map R 13 Indep 15 32 Labels 15 33 Recenter 15 33 Ycross 15 36 sorting 16 6 aplets in alphabetic order 16 6 aplets in chronological order 16 6 elements in a list 13 9 spectral norm 12 12 spectral radius 12 12 square root 10 5 stack history printing 15 25 stairsteps graph 6 2 standard number format 1 10 statistics analysis 8 1 analyzing plots 8 20 angle mode 8 10 calculate one variable 15 29 calculate two variable 15 29 computing 2VAR 8 11 data set variables 15 39 data structure 15 39 define one variable sample 15 29 define two variable data set s depen dent column 15 29 define two variable data set s inde pendent column 15 29 defining a fit 8 11 defining a regression model 8 11 deleting data 8 10 editing data 8 10 frequency 15 29 inserting data 8 11 plot type
117. er information Display the table of numeric values NUM You can see there is a column of t values This column is active in the sense that you can highlight a t value type in a replacement value and see the table jump to that value You can also zoom in or zoom out on any t value in the table You are able to explore the table using EMEI EIEH build your own table and split screen functionality available in the Function aplet See Exploring the table of numbers on page 2 18 for further information Parametric aplet 4 3 Polar aplet Getting started with the polar aplet Open the Polar 1 Open the Polar aplet aplet APLET Select Polar Like the Function aplet the Polar aplet opens in the Symbolic view Define the 2 Define the polar equation r 2mcos 0 2 cos 0 gt CAPIESSION 2 Sala cos POLAR SYMEOLIC VIE 78 2 R1 ca 2ensC0S 8 2 PR2c8 rae ate ENTER 5 RICh3 7 emt cHe a SHOH EVAL Specify plot 3 Specify the plot settings In this example we will use the settings default settings except for the ORNG fields SHIFT SETUP PLOT SHIFT CLEAR OLAR PLOT SETUP gt J 4 SHIFT 7 Es a eee RNG 3 1 3 ENTER STEP SIZE Plot the 4 Plot the expression expression PLOT ao Riley 6 283185 Polar aplet 5 1 Explore the 5 Display the Plot view menu key labels graph EMU The Plot view opt
118. er vector or a complex number vector for example 1 2 7 3 Matrices are two dimensional arrays They are composed of more than one row and more than one column Two dimensional matrices are represented with nested brackets for example 1 2 3 4 5 6 You can create complex matrices for example 1 2 3 4 4 5 6 7 There are ten matrix variables available named MO to M9 You can use them in calculations in HOME or in a program You can retrieve the matrix names from the VARS menu or just type their names from the keyboard Matrices 12 1 Creating and storing matrices Matrix Catalog keys You can create edit delete send and receive matrices in the Matrix catalog To open the Matrix catalog press MATRIX MATRIX CATALOG SAE EAL HATRIH OKE Z 243 REAL MATRIS MS 181 REAL MATRIS OKE M4 181 REAL MATRIS OKE MS 181 REAL MATRIS OKE Y EDIT HEH SEND RECH You can also create and store matrices named or unnamed in HOME For example the command POLYROOT 1 0 1 0 gt M1 stores the root of the complex vector of length 3 into the M1 variable M1 now contains the three roots of x x 0 The table below lists the operations of the menu keys in the Matrix Catalog as well as the use of Delete DEL and Clear CLEAR Key Meaning SEE Opens the highlighted matrix for editing Prompts for a matrix type then opens an empty matrix with the hig
119. erbolic 10 10 in menu map R 15 keyboard 10 4 logical operators 10 20 menu 1 7 polynominal 10 12 probability 10 13 real number 10 15 symbolic 10 19 trigonometry 10 21 math operations 1 18 enclosing arguments 1 20 in scientific notation 1 19 negative numbers in 1 18 matrices adding rows 15 23 addition and subtraction 12 6 arguments 12 10 arithmetic operations in 12 6 assembly from vectors 12 1 changing row position 15 24 column norm 12 10 comma 13 7 commands 12 10 condition number 12 10 create identity 12 13 creating 12 3 creating in Home 12 5 deleting 12 4 deleting columns 15 23 deleting rows 15 23 determinant 12 10 display eigenvalues 12 11 displaying 12 5 displaying matrix elements 12 5 dividing by a square matrix 12 7 dot product 12 10 editing 12 4 extracting a portion 15 24 finding the trace of a square matrix 12 13 inverting 12 7 matrix calculations 12 1 Index multiplying and dividing by scalar 12 6 multiplying by vector 12 7 multiplying row by value and adding result to second row 15 24 multiplying row number by value 15 24 negating elements 12 7 opening Matrix Editor 15 26 redimension 15 24 replacing portion of matrix or vector 15 24 sending or receiving 12 4 singular value decomposition 12 12 singular values 12 12 size 12 12 spectral norm 12 12 spectral radius 12 12 start Matrix Editor 15 23 storing elements 12 3 12 5 storing matrix elements 12 5 swap column 15 24 swap row 15 24
120. eric view for the current aplet See Numeric view on page 1 15 Displays the HOME view See HOME on page 1 1 APLET Displays the Aplet Library menu See Aplet library on page 1 15 VIEWS Displays the VIEWS menu See Aplet views on page 1 15 1 4 Getting started Entry Edit keys The entry and edit keys are Key Meaning CANCEL ST ALPHA ENTER X T 9 DEL SHIFT CLEAR lt gt a v SHIFT CHARS Cancels the current operation if the calculator is on by pressing ONJ Pressing SHIFT then OFF turns the calculator off Accesses the function printed in blue above a key Returns to the HOME view for performing calculations Accesses the alphabetical characters printed in orange below a key Hold down to enter a string of characters Enters an input or executes an operation In calculations ENTER acts like When Ei or is present as a menu key ENTER acts the same as pressing EES or EMIA Enters a negative number To enter 25 press 25 Note this is not the same operation that the subtract button performs Enters the independent variable by inserting X T O or N into the edit line depending on the current active aplet Deletes the character under the cursor Acts as a backspace key if the cursor is at the end of the line Clears all data on the screen On a settings scr
121. es in the right column You select a variable category and then select a variable in the category 1 Open the VARS menu VARS APLET NAM a VALUE CANCL 2 Use the arrow keys or press the alpha key of the first letter in the category to select a variable category For example to select the Matrix category press Note In this instance there is no need to press the ALPHA key Program iM4 HOM s APLETINAM S VALUE CANCL OK 3 Move the highlight to the variables column 4 Use the arrow keys to select the variable that you want For example to select the M2 variable press Y Graphic Library i List 11 4 Variables and memory management 5 Choose whether to place the variable name or the variable value on the command line Press BETES to indicate that you want the variable s contents to appear on the command line Press EMA to indicate that you want the variable s name to appear on the command line 6 Press BI to place the value or name on the command line The selected object appears on the command line Note The VARS menu can also be used to enter the names or values of variables into programs Example This example demonstrates how to use the VARS menu to add the contents of two list variables and to store the result in another list variable 1 Display the List catalog LIST to select LI EDIT 2 Enter the data for L1
122. ext keystroke To cancel press SHIFT again a Alpha in effect for next keystroke To cancel press ALPHA again Low battery power x Busy gt Data is being transferred via infrared or cable The keyboard Menu keys Menu key r rnrn labels 3 Menu keys G C C C0 CC m syms por num Aplet control m noe weer AO OO L Cursor keys p Home Arter views keys CHARS MDs Fa EEX CLEAR VARS MATH d dx XT0 DEL ASIN A ACOS 8 amn C e D 10 SIN cos TAN In log O En Ffa Fang Hx 1 x xr g E monl or Ki L MON 7 8 d x O mmx ey RA Alpha key arena 4 5 6 procam T syntax U Shift key omr 2 3 OFF NOTEPAD Y anD 2 ans SPACE ON 0 a err Enter key CANCEL f Getting started 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 current meanings Aplet control keys The aplet control keys are Key Meaning Displays the Symbolic view for the current aplet See Symbolic view on page 1 15 Displays the Plot view for the current aplet See Plot view on page 1 15 NUM Displays the Num
123. gram on page 15 7 Programming 15 9 Aplet naming convention To assist users in keeping track of aplets and associated programs use the following naming convention when setting up an aplet s programs Start all program names with an abbreviation of the aplet name We will use APL in this example Name programs called by menu entries in the VIEWS menu number after the entry for example APL ME1 for the program called by menu option 1 APL ME2 for the program called by menu option 2 Name the program that configures the new VIEWS menu option APL SV where SV stands for SETVIEWS For example a customized aplet called Differentiation might call programs called DIFF ME1 DIFF ME2 and DIFF SV Customizing an aplet example This example aplet is designed to demonstrate the process of configuring an aplet The new aplet is based on the Function aplet Note This aplet is not intended to serve a serious use merely to illustrate the process Save the aplet 1 Open the Function aplet and save it as EXPERIMENT The new aplet appears in the Aplet library APLET Select PLET LIBRARY 28 PERI Function E lt E Funct ion BKB EXPERIMENT Statistics AKB Inference KE i Parametric BKB WAVE RESET SORT SEND RECY START 2 Create a program called uP MEL PROGRAM EXP ME 1 with contents jie maxi as shown This program 6brmin PYmaxi configures the plot RUH EXP AHG range
124. guration ccccecceesceesecesseceseeceeeeneeeeeeesaeeseneenees 1 17 Mathematical calculations 00 0 0 cece cee ceeceeeseceecesecesceseeseeeeecneesaesaes 1 18 Using LLACTIONS hs sessed eset ses docs sera Tei geste eae SREE orense TE ssh sntdees Seastants 1 24 Complex numbers isnie enois Ek seed a e E aE E EESE EROE T sih 1 27 Catalogs nd editors sssi ipei een k eeir rsisi 1 28 Differences between the HP 38G and the HP 39G 40G ee 1 29 2 Aplets and their views ADIEU VIS WS eea soune E A S EE E EET 2 1 About the Symbolic view ssseesessesesssresrssssesresrerrsrenrsrnresrnsesrsseeeesee 2 1 Defining an expression Symbolic view esesssessesseeersreersrreerees 2 1 Evaluating expressions sesessseesessesessesreersreerereeresrssererserresrenrsrrerees 2 3 About the Plot View icsi ae E 2 5 Setting up the plot Plot view setup ssesessesessssssrserserersreerseeeseees 2 5 Explorme the Graph cos iics eccsscsicacscssseasienssecessschacsessteexss coe coasiscvbestesiven 2 7 Other views for scaling and splitting the graph 0 eee 2 14 About the numeric ViOW cece esecsseeseceeceseeeeeeeeeeeeeseeeaecaeecaeenaes 2 16 Setting up the table numeric View setup eee eeeete cee eeeee 2 17 Exploring the table of numbers eee ee eeeeeeeeeeseeeeecneeeneenees 2 18 Building your own table of numbers 0 00 0 eee eee eeeeeeeeecneeeneeeees 2 19 Build Your Own menu key eee eee esesecseeeeecneceseeeneenee
125. he current aplet The angle setting selected in Modes is the angle setting used in both HOME and current aplet To further configure an aplet you use the SETUP keys SHIFT PLOT and SHIFT NUM Press SHIFT MODES to access the HOME MODES input form Setting Options Angle Angle values are Measure Degrees 360 degrees in a circle Radians 27 radians in a circle Grads 400 grads in a circle The angle mode you set is the angle setting used in both HOME and the current aplet This is done to ensure that trigonometric calculations done in the current aplet and HOME give the same result Getting started 1 9 Setting Options Continued Number Format Decimal Mark The number format mode you set is the 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 Scientific Displays results with an exponent one digit to the left of the decimal point and the specified number of decimal places Example 123 456789 becomes 1 23E2 in Scientific 2 format Engineering Displays result with an exponent that is a multiple of 3 and the specified number of significant digits beyond the first one Example 123 456E7 becomes 1 23E9 in Engineering 2 format Fraction Displays results as fractions based on the specified number of d
126. he current expression in standard mathematical form DEL Deletes the highlighted expression from the display history unless there is a cursor in the edit line Clears all lines of display history and the CLEAR edit line Getting started 1 23 Clearing the It s a good habit to clear the display history SHIFT CLEAR display history whenever you have finished working in HOME It saves calculator memory to clear the display history Remember that all your previous inputs and results are saved until you clear them Using fractions To work with fractions in HOME you set the number format to Fractions as follows Setting 1 In HOME open the HOME MODES input form Fraction mode SHIFT MODES HOME MODES ANGLE MEASURE PERPE NUMBER FORMAT Standard DECIMAL MARE Dot CHOOSE ANGLE MEASURE Ema as 2 Select Number Format and press to display the options then select Fraction IEEE 9 7 0 9 saad NUM Fixed 2 pec Scientific TITLI 7250 OO P SE canc ok 3 Press MH to select the option then select the precision value oa HOME MODES ANGLE MEASURE Radians NUMBER FORMAT Fraction DECIMAL MARK Dot ENTER DECIMAL PLACES TO USE 4 Enter the precision that you want to use and press to set the precision Press HOME to return to HOME See Setting fraction precision below for more information 1 24 Getting
127. he heights of the rest of the students in the class are measured but each one is rounded to the nearest of the five values first recorded Instead of entering all the new data in C1 we shall simply add another column C2 that holds the frequencies of our five data points in C1 Height cm Frequency 160 5 165 3 170 8 175 2 180 1 5 Move the highlight bar geesqnepes EOE SE into the right column of MH1 Ci the H1 definition and He eee H replace the frequency H4 1 x ENTER SAMPLE value of with the name EMALEA ETT C2 2 6 Return to the numeric view NUM 7 Enter the frequency data shown in the above table gt 5 ENTER 3 ENTER 8 ENTER 2 ENTER 1 ENTER Statistics aplet 8 9 Angle Setting Save data Edit a data set Delete data 8 Display the computed statistics You can scroll down to the mean The mean height is approximately 167 63cm l r 631578947 e ee 9 Setup a histogram plot for the data EES SHIFT SETUP PLOT Enter set up information appropriate to your data 10 Plot a histogram of the data SERUSSE STATISTICS PLOT SETUP RRE STATPLOT Hist HWIDTH 5 RNG 160 185 YRNG 2 16 HRNG 160 185 ENTER MAXIMUM HISTOGRAM VALUE CHEA H1 16 165 F 5 MENU You can ignore the angle measurement mode unless your Fit definition in Symbolic view involves a
128. hen resolves all references to other functions in terms of their independent variable 1 Choose the Function 1 S880 FUNCTION SYMEDLIC VIEW SEE APLET Fate j Select Function ese 7 7 e CHEL H o HOH 2 Enter the expressions in the Function aplet s Symbolic view ALPHAJA ES SE FUNCTION SYMEDLIC VIEH Sees La SECDE Pa ALPHA B EES Ficho Fech ALPHA F1 BED 4 ALPHA F2 0H DEE 3 Highlight F3 X SE FUNCTION SYMEOLIC VIEH Sees a FICK ISAeKE VF2CK B 4 Press eS FUNCTION SYMEDLIC VIEH eee WFICKI ASKE Note how the values for VEZERISE F1 X and F2 X are substituted into F3 X You can also evaluate any expression in HOME by entering it into the edit line and pressing ENTER For example define F4 as below In HOME type F4 9 and press ENTER This evaluates the expression substituting 9 in place of X into F4 SERRE FUNCTION SYMEDLIC VIEH REESE WFLICKOSASKE F2ce B WFSCHISASKE B w Fd cx Et Ea e 2en 1 Aplets and their views SYMB view The following table details the menu keys that you use to work keys with the Symbolic view Key Meaning ELIT Copies the highlighted expression to the edit line for editing Press H3 when done Checks unchecks the current expression or set of expressions Only checked expression s are evaluated in the Plot and Numeric views EZ Enters the independent variable
129. hen you make C2 the independent column for the sorting and C1 the dependent column To sort just one column choose None for the dependent column For one variable statistics with two data columns specify the frequency column as the dependent column 4 Press HH Defining a regression model 2VAR To choose the fit The Symbolic view includes an expression Fit 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 e Accept the default option to fit the data to a straight line e Select one of the available fit options in Symbolic Setup view e Enter your own mathematical expression in Symbolic view This expression will be plotted but it will not be fitted to the data points In Numeric view make sure HHA is set 2 Press SHIFT SETUP SYMB to display the Symbolic Setup view Highlight the Fit number S1FIT to SSFIT you want to define 3 Press EEREE and select from the following list Press HA when done The regression formula for the fit is displayed in Symbolic view Statistics aplet Fit models To define your own fit Eight fit models are available Fit model Meaning Linear Logarithmic Exponential Power Quadratic Cubic Logistic User Defined Default Fits the data to a straight line y mx b Uses a least square
130. hics variable 4 Move the box to where you would like to copy the graphic then press H3 The notepad Subject to available memory you can store as many notes as you want in the Notepad SHIFT NOTEPAD These notes are independent of any aplet The Notepad catalog lists the existing entries by name It does not include notes that were created in aplets Note views but these can be imported See To import a note on page 14 8 To create a note 1 Display the Notepad in the Notepad catalog SHIFT VOTEPAD 2 Create a new note HEH 3 Enter a name for your note z MYNOTE EE Note In this example NOTE CATALOG 333 GEETa MYNOTE CEL the name of the note is MYNOTE 14 6 Notes and sketches 4 Write your note MYNOTE MOTE See Note edit keys on MY TEST page 14 2 for more information on the entry and editing of notes ES a a Ce 5 When you are finished press HOME or an aplet key to exit Notepad Your work is automatically saved Notepad Catalog keys Key Meaning SHEE Opens the selected note for editing HEH Begins a new note and asks for a name FENE Transmits the selected note to another HP 39G 40G or PC EECH Receives a note being transmitted from another HP 39G 40G or PC DEL Deletes the selected note CLEAR Deletes all notes in the catalog Notes and sketches 14 7 To
131. hlighted name ZEND Transmits the highlighted matrix to another HP 39G 40G or a disk drive See Sending and receiving aplets on page 16 5 BECH Receives a matrix from another EL B SHIFT IFT DIE CLEAR Y or HP 39G 40G or a disk drive See Sending and receiving aplets on page 16 5 Clears the highlighted matrix Clears all matrices Moves to the end or the beginning of the catalog 12 2 Matrices To create a matrix in the matrix catalog Press SHIFT MATRIX to open the Matrix catalog The Matrix catalog lists the 10 available matrix variables MO to M9 Highlight the matrix variable name you want to use and press i331 Select the type of matrix to create Fora vector one dimensional array select Real vector or Complex vector Certain operations CROSS do not recognize a one dimensional matrix as a vector so this selection is important Fora matrix two dimensional array select Real matrix or Complex matrix For each element in the matrix type a number or an expression and press ENTER The expression may not contain symbolic variable names For complex numbers enter each number in complex form that is a b where a is the real part and b is the imaginary part You must include the parentheses and the comma Use the cursor keys to move to a different row or column You can change the direction of the highlight
132. home variables 11 1 R 8 definition 11 7 horizontal zoom 15 37 hyperbolic maths functions 10 10 Index hyperbolic trigonometry ACOSH 10 9 ALOG 10 10 ASINH 10 9 ATANH 10 9 COSH 10 9 EXP 10 10 EXPM1 10 10 LNP1 10 10 SINH 10 9 TANH 10 9 hypothesis alternative 9 3 inference tests 9 9 null 9 3 tests 9 3 l i 10 9 implied multiplication 1 19 importing graphics 14 6 notes 14 8 increasing display contrast 1 2 indefinite integral using symbolic variables 10 25 independent values adding to table 2 19 independent variable defined for Tracing mode 15 32 inference confidence intervals 9 16 hypothesis tests 9 9 One Proportion Z Interval 9 18 One Sample Z Interval 9 16 One Sample Z Test 9 9 Two Proportion Z Interval 9 19 Two Proportion Z Test 9 12 Two Sample T Interval 9 21 Two Sample Z Interval 9 17 infinite result R 19 infrared transmission of aplets between ma chines 16 5 initial guess 7 5 input forms resetting default values 1 9 setting Modes 1 11 insufficient memory R 19 insufficient statistics data R 19 integer rank matrix 12 12 integer scaling 2 14 2 16 integral definite 10 7 indefinite 10 25 integration 10 7 interpreting intermediate guesses 7 7 intersection interactive 3 10 invalid dimension R 19 Statistics data R 19 syntax R 19 inverse hyperbolic cosine 10 9 inverse hyperbolic functions 10 10 inverse hyperbolic sine 10 9 inverse hyperbolic tangent 10 9 inverting matrices 12 7 isect variab
133. hted variable to zero or deletes current character in edit line if edit line is active Resets all variable values to zero or clears the edit line if cursor is in edit line 7 4 Solve aplet Use an initial guess Number format HINT You can usually obtain a faster and more accurate solution if you supply an estimated value for the unknown variable before pressing HASH Solve starts looking for a solution at the initial guess Before plotting make sure the unknown variable is highlighted in the numeric view Plot the equation to help you select an initial guess when you don t know the range in which to look for the solution See Plotting to find guesses on page 7 8 for further information An initial guess is especially important in the case of a curve that could have more than one solution In this case only the solution closest to the initial guess is returned You can change the number format for the Solve aplet in the Numeric Setup view The options are the same as in Home MODES Standard Fixed Scientific and Engineering For the latter three you also specify how many digits of accuracy you want See Mode settings on page 1 9 for more information You might find it handy to set a different number format for the Solve aplet if for example you define equations to solve for the value of money A number format of Fixed 2 would be appropriate in this case Solve aplet 7 5 Inte
134. ic tangent TANH value Using mathematical functions ALOG EXP EXPM1 LNP1 List functions 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 e due to limitations of the power function EXP value Exponent minus e 1 This is more accurate than EXP when x is close to zero EXPM1 value Natural log plus 1 In x 1 This is more accurate than the natural logarithm function when x is close to zero LNP 1 value These functions work on list data See List functions on page 13 7 10 10 Using mathematical functions Loop functions ITERATE RECURSE The loop functions display a result after evaluating an expression a given number of times Repeatedly for times evaluates an expression in terms of variable The value for variable is updated each time starting with initialvalue ITERATE expression variable initialvalue times Example ITERATE x2 X 2 3 returns 256 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 n term term2 Example RECURSE U U N 1 N 1 2 BEBE U1 N Stores a factorial calculating function named U1 When you enter U1
135. icname1 The upper left corner of graphicname2 is placed at position GROBOR graphicname1 position graphicname2 Using the logical XOR superimposes graphicname2 onto graphicname1 The upper left corner of graphicname 2 is placed at position GROBXOR graphicnamel position graphicname2 Creates graphic with given width height and hexadecimal data and stores it in graphicname MAKEGROB graphicname width height hexdata Stores the Plot view display as a graphic in graphicname PLOT graphicname PLOT and DISPLAY can be used to transfer a copy of the current PLOT view into the sketch view of the aplet for later use and editing 1 PageNum PLOT Page FREEZE This program stores the current PLOT view to the first page in the sketch view of the current aplet and then displays the sketch as a graphic object until any key is pressed Puts graph from graphicname into the Plot view display PLOT graphicname Programming 15 21 REPLACE SUB ZEROGROB Replaces portion of graphic in graphicname with graphicname2 starting at position REPLACE also works for lists and matrices REPLACE graphicnamel position graphicname2 Extracts a portion of the named graphic or list or matrix and stores it in a new variable name The portion is specified by position and positions SUB name graphicname position positions Creates a blank graphic with
136. iew HOME You can do all calculations here and you can access all MATH operations Entering e Enter an expression into the HP 39G 40G in the same expressions 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 You can also enter a function by using the Alpha keys to spell out its name e Press ENTER to evaluate the expression you have in the edit line where the blinking cursor is An expression can contain numbers functions and variables 2 Example Calculate 23 lays In 45 923 14 x SHIFT V 80 238 1448 7 3 LNE45 B 3 628 996164585 inJ45 0 Long results If the result is too long to fit on the display line or if you want to see an expression in textbook format press a to highlight it and then press HIS Negative Type to start a negative number or to insert a negative numbers sign To raise a negative number to a power enclose it in parentheses For example 5 25 whereas 5 25 1 18 Getting started Scientific notation powers of 10 Example Explicit and implicit multiplication HINT A number like 5 x 10 or 3 21 x 10 is written in scientific notation that is in terms of powers of ten This is simpler to work with than 50000 or 0 000000321 To enter numbers like these use EEX This is easier than using X 10 x 4x 107
137. imitation of incidental or consequential damages so the above limitation or exclusion may not apply to you Reference information R 3 CAS 8 FOR CONSUMER TRANSACTIONS IN AUSTRALIA AND NEW ZEALAND THE WARRANTY TERMS CONTAINED IN THIS STATEMENT EXCEPT TO THE EXTENT LAWFULLY PERMITTED DO NOT EXCLUDE RESTRICT OR MODIFY AND ARE IN ADDITION TO THE MANDATORY STATUTORY RIGHTS APPLICABLE TO THE SALE OF THIS PRODUCT TO YOU The HP 40G is packaged with a computerized algebra system CAS Refer to the CAS User Manual for further information Resetting the HP 39G 40G 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 However it does not clear stored data variables aplet databases programs unless you use the procedure below To erase all memory and reset defaults To reset using the keyboard Press and hold the ON key and the third menu key simultaneously then release them If the calculator does not respond to the above key sequence then 1 Turn the calculator over and locate the small hole in the back of the calculator 2 Insert the end of a straightened metal paper clip into the hole as far as it will go Hold it there for 1 second then remove it 3 Press ON If necessary press and the first and last menu keys simultaneously Referen
138. ind writing over the expression or clear one line DEL or all lines SHIFT CLEAR Expressions are selected check marked on entry To deselect an expression press Eau All selected expressions are plotted Aplets and their views 2 1 For a Function definition enter an expression to define F X The only independent variable in the expression is X For a Parametric definition enter a pair of expressions to define X T and Y T The only independent variable in the expressions is T For a Polar definition enter an expression to define R 0 The only independent variable in the expression is 0 For a Sequence definition either Enter the first and second terms for U U1 or U9 or UO Define the nth term of the sequence in terms of N or of the SS FUNCTION SYMBOLIC VIEH S Fi Be SEQUENCE SYMBOLIC VIEH EA MEESE prior terms U N 1 and U N 2 The expressions should produce real valued sequences with integer domains 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 2 2 Aplets and their views Evaluating expressions In aplets In HOME 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 EEE If a function calls another function t
139. ined a new version of an aplet The information is automatically saved under the current aplet name such as Function To create additional aplets of the same type you must give the current aplet a new name The advantage of storing an aplet is to allow you to keep a copy of a working environment for later use The aplet library is where you go to manage your aplets Press APLET Highlight using the arrow keys the name of the aplet you want to act on In the aplet library press EIZE Select the sorting scheme and press ENTER e Chronologically produces a chronological order based on the date an aplet was last used The last used aplet appears first and so on e Alphabetically produces an alphabetical order by aplet name You cannot delete a built in aplet You can only clear its data and reset its default settings To delete a customized aplet open the aplet library highlight the aplet to be deleted andess DEL To delete all custom aplets press CLEAR 16 6 Extending aplets Reference information Regulatory information USA Connections to peripheral devices Canada This section contains information that shows how the HP 39G 40G 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 HP 39G 40G in these regions This calculator generates uses and can radia
140. into M6 Note that you can enter an expression like 5 2 for an element of the matrix and it will be evaluated C572 3 6 16 2113 L66 33 111M6 L2 5 729 16 21 66 33 11 EOE a Bn ee ee ee In HOME enter value matrixname row column For example to change the element in the first row and second column of M5 to 728 then display the resulting matrix 728 ALPHA M5 Q1 20 ENTER ALPHA M5 ENTER Cl2 5 7291 0i6s2 ero o An attempt to store an element to a row or column beyond the size of the matrix results in an error message Matrices 12 5 Matrix arithmetic Example To multiply and divide by a scalar You can use the arithmetic functions x with matrix arguments Division left multiplies by the inverse of the divisor You can enter the matrices themselves or enter the names of stored matrix variables The matrices can be real or complex For the next four examples store 1 2 3 4 into M1 and 5 6 7 8 into M2 1 Create the first matrix SHIFT MATRIX EBA H3 mi z 1 ENTER 2 ENTER 3 4 ENTER PeoiT INS GO gt eG __ 2 Create the second matrix SHIFT MATRIX Y OIA 5 ENTER 6 Y 7 ENTER 8 ENTER PeoIT INS GO gt eG __ 3 Add the matrices that you created HOME ALPHA M1 ALPHA JM2 Mith2
141. ion See To find derivatives in the Function aplet s Symbolic view on page 10 24 for an example 10 22 Using mathematical functions Finding derivatives The HP 39G 40G can perform symbolic differentiation on some functions There are two ways of using the HP 39G 40G to find derivatives e You can perform differentiations in HOME by using the formal variables S1 to S5 e You can perform differentiations of functions of X in the Function aplet To find To find the derivative of the function in HOME use a formal derivatives in variable in place of X If you use X the differentiation HOME function substitutes the value that X holds and returns a numeric result For example consider the function 2 dx sin x 2cos x 1 Enter the differentiation function onto the command line substituting S1 in place of X d dx S1 o S1 b2 0 amp 2 COS ALPHA S1 2 Evaluate the function ENTER aS1 SIN CS129 22C05 51 COSCS1PpeC2e515 24 S1 ES a a a 3 Show the result a cos si7 2s1 2 sin si cos s17 2s1 2S1N 1 A ee ee LA HP 39G HP 40G Using mathematical functions 10 23 To find derivatives in the Function aplet s Symbolic view To find the derivative of the function in the Function aplet s Symbolic view you define two functions and define the second function as a derivative of the first function For example to differentia
142. ions available are the same as those found in the Function aplet See RACe GOTO DEEN Exploring the graph on page 2 7 for further information Display the 6 Display the table of values O for and R1 numbers RUM The Numeric view options available are the same as those found in the Function aplet See Exploring the table of numbers on page 2 18 for further information 5 2 Polar aplet Sequence aplet About the Sequence aplet The Sequence aplet allows you to explore sequences You can define a sequence named for example U1 in terms of n in terms of U1 n 1 in terms of U1 n 2 in terms of another sequence for example U2 n in any combination of the above Getting started with the Sequence aplet The following example defines and then plots an expression in the Sequence aplet Open the l Sequence aplet Open the Sequence aplet Select Sequence The Sequence aplet starts in the Symbolic view RES SEQUENCE SYMEOLIC VEH Z Uic2 U1 Ho U2 13 U2 23 lemt eael L Tenn Eva Sequence aplet 6 1 Define the expression Specify plot 2 Define the Fibonacci sequence in which each term after 3 the first two is the sum of the preceding two terms U 1 U 1 U U _ U _ forn gt 3 In the Symbolic view of the Sequence aplet highlight the U1 1 field and begin defining your sequence 1 ENTER 1 ENTER RE SEQUENCE SYMEOLIC VIEH Bese TES EEN
143. is used Therefore if you have defined a value for T as in the above example in another aplet or even another Solve equation that value shows up in the Numeric view for this Solve equation When you then redefine the value for T in this Solve equation that value is applied to T in all other contexts until it is changed again This sharing allows you to work on the same problem in different places such as HOME and the Solve aplet without having to update the value everywhere whenever it is recalculated As the Solve aplet uses any existing variable values be sure to check for existing variable values that may affect the solve process You can use SHIFT CLEAR to reset all values to zero in the Solve aplet s Numeric view if you wish Functions defined in other aplets can also be referenced in the Solve aplet For example if in the Function aplet you define F1 X X741 0 you can enter F1 X 50 in the Solve aplet to solve the equation X7 10 50 Solve aplet Statistics aplet About the Statistics aplet The Statistics aplet can store up to ten separate data sets at one time It can do 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 The Symbolic view is used to specify which columns contain data and which column contains frequencies You can also compute statistics values in HOME and recall the v
144. it line Calculus e Loop e Stat Two Two variabl Complex e Matrices Ai cate statistics numbers e Polynomial e Symbolic Constant su e Probability Tests Hyperbolic tri vere Real numbers Tanase Lists 2 ty 10 2 Using mathematical functions Math functions by category Following are definitions for all categories of functions except List Matrix and Statistics each of which appears in its own chapter Except for the keyboard operations which do not appear in the MATH menu all other functions are listed by their category in the MATH menu Syntax Each function s definition includes its syntax that is the exact order and spelling of a function s name its delimiters punctuation and its arguments Note that the syntax for a function does not require spaces Functions common to keyboard and menus These functions are common to the keyboard and menus SHIFT T SHIFT JARG d dx SHIFT JAND wn MM SHIFT JEEX SHIFT SHIT x 66 For a description see p on page 10 9 For a description see ARG on page 10 8 For a description see D on page 10 7 For a description see AND on page 10 21 sey For a description see on page 10 13 For a description see S on page 10 11 For a description see Scientific notation powers of 10 on page
145. ith the variable A highlighted the Plot view will show two graphs One of these is Y v with V 27 78 or Y 771 7284 This graph will be a horizontal line The other graph will be Y U 2AD with U 16 67 and D 100 or Y 200A 277 8889 This graph is also a line The desired solution is the value of A where these two lines intersect Plot the equation for variable A views Select Auto Scale Ao El 771 7284 GIST Solve aplet 7 3 7 Trace along the graph representing the left member of the equation until the cursor nears the intersection 20 times Note the value of A displayed near the bottom left corner of the 2 5 screen 1 771 7284 a The Plot view provides a convenient way to find an approximation to a solution before using the Numeric view Solve option See Plotting to find guesses on page 7 8 for more information Solve aplet s NUM view keys The Solve aplet s NUM view keys are Key Meaning EDIT IHEU SHIFT CLEAR Copies the highlighted value to the edit line for editing Press 3 when done Displays a message about the solution see Interpreting results on page 7 6 Displays other pages of variables if any Displays the symbolic definition of the current expression Press Ei when done Finds a solution for the highlighted variable based on the values of the other variables Clears highlig
146. ive solution However we are concerned only with positive solutions since only positive distance makes sense 1 Select the Solve aplet and enter the equation APLET Select Solve ALPHA X B SOLVE SYMBOLIC VIEW ALPHA V X ALPHA T MEL iTia lt 2 C AtPRAJA ES x ALPHAJT x2 2 ES x G2 2 Find the solution for T time when X 30 V 2 and A 4 Enter the values for X V and A then highlight the independent variable T si SOLVE NUMERIC VIEW 3 30 30 ENTER HE 2 ENTER T v 4 ENTER R F 5 ENTER VALUE OR PRESS SOLVE Y to highlight T Evt ino DEFN soLvE 7 8 Solve aplet Use the Plot view to find an initial guess for T First set appropriate X and Y ranges in the Plot Setup Since we have an equation X VxT Ax T 2 the plot will produce two graphs one for Y X and one for Y VxT AxT 2 Since we have set X 30 in this example one of the graphs will be Y 30 Therefore make the YRNG 5 to 35 Keep the XRNG default of 6 5 to 6 5 SETUP PLOT SOLVE PLOT ETU C 5 ENTER zea eee 35 ENTER BTICK YTICK 1 Detail HORIZONTAL TICK SPACING Le PAGE T Plot the graph PLOT Move the cursor near the positive right side intersection This cursor value will be an initial guess for T gt to move cursor to i I the intersection The two points of intersectio
147. ix commands ADDCOL ADDROW DELCOL DELROW EDITMAT The matrix commands take variables MO M9 as arguments Add Column Inserts values into a column before column_number in the specified matrix You enter the values as a vector The values must be separated by commas and the number of values must be the same as the number of rows in the matrix name ADDCOL name valuel value column_number Add Row Inserts values into a row before row_number in the specified matrix You enter the values as a vector The values must be separated by commas and the number of values must be the same as the number of columns in the matrix name ADDROW name value value row_number 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 Eis EDITMAT name Programming 15 23 RANDMAT Creates random matrix with a specified number of rows and columns and stores the result in name name must be MO M9 The entries will be integers ranging from 9 to 9 RANDMAT name rows columns REDIM Redimensions the specified matrix or vector to size For a matrix size is a list of two integers n n2 For a vector size is a li
148. k is Comma and enclosed in nested brackets Created and manipulated by the Matrix catalog and editor Vectors are also handled by the Matrix catalog and editor R 6 Reference information menu menu keys note program sketch variable vector views Operating details A choice of options given in the display It can appear as a list or as a set of menu key labels across the bottom of the display The top row of keys Their operations depend on the current context The labels along the bottom of the display show the current meanings Text that you write in the Notepad or in the Note view for a specific aplet A reusable set of instructions that you record using the Program editor A drawing that you make in the Sketch view for a specific aplet The name of a number list matrix note or graphic that is stored in memory Use to store and use VARS to retrieve A one dimensional array of values separated by commas periods if the Decimal Mark is Comma and enclosed in single brackets Created and manipulated by the Matrix catalog and editor The possible contexts for an aplet Plot Plot Setup Numeric Numeric Setup Symbolic Symbolic Setup Sketch Note and special views like split screens Operating temperature 0 to 45 C 32 to 113 F Storage temperature 20 to 65 C 4 to 149 F Operating and storage humidity 90 relative humidity at 40 C 104 F maximum Avoid get
149. le values Appears as the TRNG field in the Plot Setup input form From Plot Setup enter values for TRNG or In a program type ny gt Tmin n gt Tmax where n gt n Turns tracing mode on or off in Plot view In a program type 1 Tracing to turn Tracing mode on default 0 Tracing to turn Tracing mode off Defines the step size for an independent variable From the Plot Setup input form enter values for TSTEP or In a program type n gt Tstep where n gt 0 Defines the horizontal coordinate of crosshairs Only works with TRACE off In a program type ne Xcross Defines the vertical coordinate of crosshairs Only works with TRACE off In a program type ne Ycross Programming 15 35 Xtick Defines the distance between tick marks for the horizontal All Aplets axis From the Plot Setup input form enter a value for Xt ick or In a program type n gt Xtick where n gt 0 Ytick Defines the distance between tick marks for the vertical axis AU Aplets From the Plot Setup input form enter a value for Yt ick or In a program type n Ytick where n gt 0 Xmin Xmax Defines the minimum and maximum horizontal values of the All Aplets plot screen Appears as the XRNG fields horizontal range in the Plot Setup input form From Plot Setup enter values for XRNG or In a program type ny gt Xmin ny Xmax where n gt n Ymin Ymax Defines the minimum and maximum
150. le 15 32 K keyboard editing keys 1 5 entry keys 1 5 inactive keys 1 7 list keys 13 2 math functions 1 7 menu keys 1 4 Notepad keys 14 8 shifted keystrokes 1 6 L labeling axes 2 6 parts of a sketch 14 5 letters typing 1 6 library managing aplets in 16 6 linear fit 8 12 Index list arithmetic with 13 7 calculate sequence of elements 13 8 calculating product of 13 9 composed from differences 13 8 concatenating 13 8 counting elements in 13 9 creating 13 1 13 3 13 4 13 5 deleting 13 6 deleting list items 13 3 displaying 13 4 displaying list elements 13 4 editing 13 3 finding statistical values in list ele ments 13 10 generate a series 13 8 generating series 13 8 list function syntax 13 7 list variables 13 1 returning position of element in 13 9 reversing order in 13 9 sending and receiving 13 6 sorting elements 13 9 storing elements 13 1 13 4 13 5 storing one element 13 7 logarithm 10 4 logarithmic fit 8 12 functions 10 4 logical operators AND 10 21 equals logical test 10 20 greater than 10 20 greater than or equal to 10 20 IFTE 10 21 less than 10 20 less than or equal to 10 20 NOT 10 21 not equal to 10 20 OR 10 21 XOR 10 21 logistic fit 8 12 loop commands BREAK 15 23 DO UNTIL END 15 22 FOR I 15 23 WHILE REPEAT END 15 22 loop functions ITERATE 10 11 RECURSE 10 11 summation 10 11 low battery 1 1 lowercase letters 1 6 mantissa 10 16 math functions complex number 10 8 hyp
151. les type of sequence plot Stairstep or Cobweb From Plot Setup select SeqP lot then choose Stairstep or Cobweb or In a program type 1 gt SeqPlot for stairstep 2 SeqPlot for cobweb Programming 15 33 Simult Toggles between simultaneous and sequential graphing of all Function selected expressions Parametric From Plot Setup check or uncheck _STMULT Polar Sequence or In a program type 1 gt Simult for simultaneous graphing 0 Simult for sequential graphing Slope Contains the last value found by the Slope function in the Function Plot FCN menu StatPlot Toggles type of 1 variable statistics plot between Histogram Statistics or Box and Whisker From Plot Setup select Stat Plot then choose Histogram or BoxWhisker or In a program type 1 gt StatPlot for Histogram 2 StatPlot for BoxWhisker Umin Umax Defines the minimum and maximum independent values Polar Appears as the URNG field in the Plot Setup input form From the Plot Setup input form enter values for URNG or In a program type n gt Umin ny Umax where n gt n Ustep Defines the step size for an independent variable kolar From the Plot Setup input form enter values for USTEP or In a program type nye Ustep where n gt 0 15 34 Programming Tmin Tmax Parametric Tracing All Aplets Tstep Parametric Xcross All Aplets Ycross All Aplets Defines the minimum and maximum independent variab
152. lets NumCol All Aplets except Statistics aplet Defines the number display format From Solve s Numeric Setup view choose Standard Fixed Scientific or Engineering in the Number Format field or In a program store the constant name or its number into the variable Format Standard Fixed Scientific B UU N H Engineering Note Fraction is not a valid mode in aplets Except in Solve the value of Format takes effect only after the current aplet is saved with a new name Until then HFormat is in effect Example Scientific Format or 3 gt Format Defines the highlighted column in Numeric view In a program type n gt NumCol where n can be 0 1 2 3 4 5 6 7 8 9 NumFont Toggles the font size in Numeric view Does not appear in the Function Num Setup input form Corresponds to the BIG key in Parametric Numeric view Polar In a program type Sequence Statistics 0 gt NumFont for small default 1 gt NumFont for big Numindep List of independent values used by Build Your Own Table Function F In a program type Parametric Polar LIST NumIndep Sequence 15 40 Programming NumRow All Aplets except Statistics aplet NumStart Function Parametric Polar Sequence NumStep Function Parametric Polar Sequence NumType Function Parametric Polar Sequence NumZoom Function Parametric Polar Sequence Defines the highlighted row in Numeric view In a program ty
153. lso if there is more than one aplet based on the Statistics aplet you are prompted to choose one IMPORT SAMPLE STATS 592 fi 6 sx 2978442 COLUNN Stat anpert data colunn STAT NUMERIC SETUP ee su 297844254603 mn 6 c 99 Sanple wean Inference aplet 9 7 Display Numeric view Display Plot view 11 12 13 Specify a 90 confidence interval in the C field Y Y Y to move to the C field 0 9 am NUMERIC SETUP See te Sor Eade 54603 h amp Cog anple ngan Display the confidence interval in the Numeric view Note The interval setting is 0 5 NUM NF STAT NUMERIC VIEH 3 Critical T 4 2 515048 n nin 23469814 u nax B3701 S6 HELP Display the confidence interval in the Plot view 4 2 015048 CRIT T gt 2 015048 You can see from the Hegal Soz cI gt 8370186 second text row that the a m a mean is contained within the 90 confidence interval CI of 0 3469814 to 0 8370186 Note The graph is a simple generic bell curve It is not meant to accurately represent the t distribution with 5 degrees of freedom 9 8 Inference aplet Hypothesis tests 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 40G hypothesis tests use the Normal Z distrib
154. ly highlighted value SHIFT CLEAR Clears the current column or all columns of data Press SHIFT CLEAR to display a menu list then select the current column or all columns option and press HE SHIFT cursor Moves to the first or last row or first or key last column 8 6 Statistics aplet Example You are measuring the height of students in a classroom to find the mean height The first five students have the following measurements 160cm 165cm 170cm 175cm 180cm 1 Open the Statistics aplet APLET Select Statistics ET PVE Enter the measurement data 160 ENTER 165 ENTER 170 ENTER 175 ENTER 180 ENTER Find the mean of the sample Ensure the EETA GGA menu key label reads ETIA Press to see the statistics PLET LIERARY 33 FEET ction BKB Inferential u 54KB Parametric BKE Polar BKB Y H SAVE RESET SORT SEND RECY START calculated from the sample data in C1 Press the key to scroll to further statistics Note that the title for the column of statistics is H1 There are 5 data set definitions available for one variable statistics H1 HS If data is entered in Cl H1 is automatically set to use C1 for data and the frequency of each data point is set to 1 You can select other columns of data from the Statistics Symbolic setup view Statistics aplet 8 7 4 Press HH to close the
155. mS esesesseseeeesseseeeeeseeresrsresesestesesreseertnreeteseneses 15 8 About customizing an aplet cee eee eeceseeeeceseeeeseseeeeecaeeeaecneesaesaee 15 9 Aplet naming COnVeNtION eee eee ceeesee cee ceecaecnseesecnseeseeeees 15 10 Customizing an aplet example 0 0 eee cece ceseeeeceeeeeeeeeeeeeeees 15 10 Programming COMMANAS eee ee eeeeeceeeeeeeeseeeeecaeecaeeeaecaeecaesaenaees 15 14 Aplet commands iiien seeen ee e e i eiae i 15 14 Branch Commands 25 5 jeeseessssssdangs osbgnsibed seeded ocbesedesssacssvesssenss 15 17 Drawing commands 0 eee eee eeeeeceeeese cee ceceeaecneceaeeeeeeeereneeees 15 19 Graphic coOmMANAS s is eiiie ase eee ineen rE o 15 20 Loop commands issc neee a a e iTe 15 22 Matrix commands s iesire een sire anssen rae Eos eiS E SEE ii 15 23 Print commands neie ie rE ea EE SE E OTEK ERS 15 25 Prompt comma dS sneren eise ea a Teen rE aes 15 25 Stat One and Stat Two commands ssessseseeeeeseeereeeesrereererrsseerese 15 29 Storing and retrieving variables in programS sseeeesseessereeeeee 15 30 Plot view Variables ccc ennea rere iee riera seori rianas e 15 30 Symbolic view variables se eeeeseeeeseeeseeeeserrserresesrrrresrereseeresrs 15 37 Numeric view variables seesseeeeesseesessesesreeseersseerssrereseeeerreeeeees 15 39 Note variables cisscccocsscsssescetscsssesiesa steve stisesbdeccosdensgebetescoscetsnesaseiesss 15 42 SKeteh variables 2s sess hsides
156. maar inlevern als KCA Menu maps of the VARS menu Home variables The home variables are Category Available name Complex Z1 29 Z0 R 8 Reference information Category Available name Continued Graphic Library List Matrix Modes Notepad Program Real G1 G9 GO Function Parametric Polar Sequence Solve Statistics User named L1 L9 LO M1 M9 MO Ans Date HAngle HDigits HFormat Ierr Time User named Editline User named A Z 8 Function aplet variables The function aplet variables are Category Available name Plot Axes Xcross Connect Ycross Coord Xtick FastRes Ytick Grid Xmin Indep xmax InvCross Ymin Labels Ymax Recenter Xzoom Simult Yxoom Tracing Reference information R 9 Parametric aplet variables Category Available name Continued Plot FCN Area Root Extremum Slope Isect Symbolic Angle F6 Fl F7 F2 F8 F3 F9 F4 FO F5 Numeric Digits NumRow Format NumStart NumCol NumStep NumFont NumType NumIndep NumZoom Note NoteText Sketch Page PageNum The parametric aplet variables are Category Available name Plot Axes Tracing Connect Tstep Coord Xcross Grid Ycross Indep Xtick InvCross Ytick Labels Xmin Recenter xmax Simult Ymin Tmin Ymax Tmax XzZoom Yzoom Reference information Polar aplet variables Category Availa
157. maps of the VARS MeN eee eeseeeeceeeeeeeeeeeeeeeseeseeeneenaes R 8 H me variables eeue neres oee ioe reba o Ged eee Adsense estes R 8 Function aplet variable S si ee eee ceeeecssesseceeceseeeceseesseeeeeeeseaeeneenaes R 9 Parametric aplet variables eee ceeeeceeeeeeeeeeseeceeceeeeceeeeeeeseees R 10 Polar aplet Variables enii rora a a E R 11 Sequence aplet variables esseeeseeseeesseeersreresesrrsrsserrrsrerrsresrereseesesse R 12 SOlve aplet variables 5 4 c scceqsseteacsessoebasbesbssesess sesdbessseestbsep soser Eri S R 13 Statistics aplet variables 0 0 eee ceeeseeceeeeseceeceseeseeeeseaseneeeaeeaee R 14 Menu maps of the MATH menu 00 eee eee ceeeseceeeeceeceseeeeeeeeens R 15 Math functions mecie soca ces hi oie Seoheee eh aust Beet eee eri iei R 15 Programi COMSTANS soccs csssceess ties ea sdeadaadassoebseveasieescevesesaiag sect ts Ei R 17 Program commands 0 0 0 eeee ese ceseesee cee ceseeseceeceseceseeseseeseseeeneaee R 18 Selected status MESSAGES sieniin eseeteececeseesececesecseeeeeeseaeeeeeeaes R 19 Index vi Contents Preface The HP 39G 40G is a feature rich graphing calculator It is also a powerful mathematics learning tool The HP 39G 40G is designed so that you can use it to explore mathematical functions and their properties 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
158. ming in results in 1 4 as many units depicted per pixel see Set Factors Multiplies horizontal and vertical scales by the X factor and Y factor see Set Factors Divides horizontal scale only using X factor Multiplies horizontal scale using X factor Divides vertical scale only using Y factor Multiplies vertical scale only using Y factor Changes the vertical scale to match the horizontal scale Use this after doing a Box Zoom X Zoom or Y Zoom Sets the X Zoom and Y Zoom factors for zooming Includes option to recenter the plot before zooming Rescales the vertical axis so that the display shows a representative piece of the plot for the supplied x axis settings For Sequence and Statistics aplets autoscaling rescales both axes The autoscale process uses the first selected function only to determine the best scale to use Rescales both axes so each pixel 0 1 units Resets default values for XRNG 6 5 to 6 5 and YRNG 3 1 to 3 2 Not in Sequence or Statistics aplets Aplets and their views 2 9 ZOOM examples Option Meaning Continued Integer Trig Un zoom Rescales horizontal axis only making each pixel 1 unit Not available in Sequence or Statistics aplets Rescales horizontal axis so 1 pixel 7 24 radian 7 58 or 8 5 grads rescales vertical axis so 1 pixel 0 1 unit Not in Sequence or Statistics aplets Returns the dis
159. n Sketch view press EZETE and move the cursor to where you want any corner of the box to be Press G1 This turns on box drawing Move the cursor to mark the opposite corner for the box You can adjust the size of the box by moving the cursor Press H3 to finish the box In Sketch view press M and move the cursor to where you want the center of the circle to be Press WM S3 This turns on circle drawing Move the cursor the distance of the radius Press H to draw the circle Key Meaning Dot on Turns pixels on as the cursor moves Dot off Turns pixels off as the cursor moves Draws a line from the cursor s starting position to the cursor s current position Press HA when you have finished You can draw a line at any angle by moving the cursor Draws a box from the cursor s starting position to the point at which you press Draws a circle with the cursor s starting position as the center The radius is the distance between the cursor s starting and ending position Press Ei to draw the circle 14 4 Notes and sketches To label parts ofa sketch To create a set of sketches To store into a graphics variable Press and type the text in the edit line To lock the Alpha shift on press FEES for uppercase or SHIFT EES for lowercase To make the label a smaller character size turn off BES before pressing I amp S GEE is a toggle between small and large fon
160. n a a hod weit A E AERA 12 6 Solving systems of linear equations eseseeeesseeeseereerserserersrrersree 12 8 Matrix functions and commands 1 0 00 ccsceececeseceenceeeeeeeeceeeeceseeenaeeaees 12 9 Argument Conventions ssesseseesesreessererreiereeresrereseerrsresesrrererreee 12 10 Matrix functions sare ana eiie no AN ESE SERE ESA 12 10 EXAM e CAPE E E TT 12 13 Lists Creating istSeesioese Sos cients niro aereoa ees E E EESE EEES a 13 1 Displaying and editing lists le ee eeceeeeeeeeeeseeeeeeneecaecseeaecssenaes 13 4 Deleting lasts iesi ieies Habe tes ebeaiscbes chess ed TE 13 6 Transmitting lists sosire teesi re i a es r r er nir horen 13 6 Eist functions rede Sate n EE E e a EREA 13 7 Finding statistical values for list elements ee eects ceeeeenees 13 10 Notes and sketches TN OCUCEION 3 rie aiei i e cook Ses che caches Gendterns E EE E 14 1 A Plet MOLE VIS W oieee sh cca sdtbeskcensteheobes titan csv sntived TETEE EERE 14 1 Aplet Sketch View seciis cinco lieu hei eles deeds dence EESE EEk 14 3 Fhe Mote pad io cise esses caschagacsceseebebene saehh ense phason ah setae ep cheat ses seeaveeseatiens 14 6 Contents 15 Programming Introducti ON c cs 2 cesses haven rE alata selina ss 15 1 Program Catalog sioiias Mal oe ee eee ecb ob aaa 15 2 Creating and editing programs 0 0 0 0 cece ceeeeceeeeeeceseeeeeeseeeeecneesaesaes 15 4 Using Programs senecaene e reser es iE sith ENEE EE hive eben ce EEOSE 15 7 Working with progra
161. n 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 T34 E1 30 MENU Return to the Numeric view OLVE NUMERIC VIEH H y T Note the T value is filled in with the position of the cursor from the Plot view ENTER VALUE OR PRESS SOLVE Ensure that the T value is highlighted and solve the equation SHEE FSOLVE NUMERIC VIEW y T ENTER VALUE OR PRESS SOLVE EDT iNFO DEFN SOLVE Solve aplet 7 9 8 Use this equation to solve for another variable such as velocity How fast must a body s initial velocity be in order for it to travel 50 m within 3 seconds Assume the same acceleration 4 m s Leave the last value of V as an initial guess 3 ENTER 4 a a SOLVE NUMERIC VIE 50 3 i ENTER VALUE OR PRESS SOLVE ED ee Using variables in equations Home variables HINT Aplet variables You can use any of the real variable names A to Z and 0 Do not use variable names defined for other types such as M1 a matrix variable All home variables other than those for aplet settings like Xmin and Yt ick 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
162. n the Library select the aplet and press RESETS You can only reset an aplet that is based on a built in aplet if the programmer who created it has provided a Reset option Annotating an aplet with notes The Note view SHIFT NOTE attaches a note to the current aplet See Chapter 14 Notes and Sketches Annotating an aplet with sketches HINT The Sketch view SHIFT SKETCH attaches a picture to the current aplet See chapter 14 Notes and sketches Notes and sketches that you attach to an aplet become part of the aplet When you transfer the aplet to another calculator the associated note and sketch are transferred as well Downloading e lessons from the web In addition to the standard aplets that come with the calculator you can download aplets from the world wide web For example Hewlett Packard s Calculators web site contains aplets that demonstrate certain mathematical concepts Note that you need the Graphing Calculator Connectivity Kit in order to load aplets from a PC Hewlett Packard s Calculators web site can be found at www hp com calculators 16 4 Extending aplets Sending and receiving aplets 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
163. n the basis of statistics from two samples each from a different population the 2 proportion Z Test measures the strength of the evidence for a selected hypothesis against the null hypothesis The null hypothesis is that the proportion of successes in the two populations is equal Ho T m You select one of the following alternative hypotheses against which to test the null hypothesis Ay lt T H T gt T H T 1 Inputs The inputs are Field name Definition X1 Sample 1 mean X2 Sample 2 mean nl Sample 1 size n2 Sample 2 size a Significance level 9 12 Inference aplet Results The results are Result Description Test P1 P2 Difference between the proportions of successes in the two samples Test Z Z Test statistic Prob Probability associated with the Z Test statistic Critical Z Boundary values of Z associated with the o level that you supplied One Sample T Test Menu name T Test 1 u The One sample T Test is used when the population standard deviation is not known On the basis of statistics from a single sample this test measures the strength of the evidence for a selected hypothesis against the null hypothesis The null hypothesis is that the sample mean has some assumed value Ho M Uo You select one of the following alternative hypotheses against which to test the null hypothesis Hy U lt Mo H gt Mo H U Uo Inputs The inputs are
164. n the equation The button labelled MAEZ is a toggle between and FE When is m Origin chosen the point of control is v sins at the origin 0 0 and the A Y and 4 gt keys S Z control vertical and horizontal transformations When LSIN m RAD mjok n LINCE is chosen the point of control is on the first extremum of the graph i e for the sine graph at 7 2 1 The arrow keys change the amplitude and frequency of the Extremum graph This is most easily seen by experimenting ve gxstncis Pressing SYMB displays the equation at the top of the screen The equation is controls the graph Pressing the gt and 4 keys moves from parameter to parameter Pressing the 4 or Y key changes the parameter s values FAD a INR RESET The default angle setting for this aplet is radians The angle setting can be changed to degrees by pressing IATE Getting started Aplet library To open an aplet Aplet views Symbolic view Plot view Numeric view Aplets are stored in the Aplet library Press APLET to display the Aplet library menu Select the aplet and press or ENTER From within an aplet you can return to HOME any time by pressing HOME When you have configured an aplet to define the relation or data that you want to explore you can display it in different views Here are illustrations of the three major aplet vie
165. nd retrieving variables in programs The HP 39G 40G 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 The aplet variables are used in programming to emulate the definitions and settings you make when working with aplets interactively You use the Variable menu VARS to retrieve either Home variables or aplet variables See The VARS menu on page 11 4 Not all variables are available in every aplet S1fit SSfit for example are only available in the Statistics aplet Under each variable name is a list of the aplets where the variable can be used Plot view variables The following aplet variables control the Plot view Area Contains the last value found by the Area function in Plot Function FCN menu Axes Turns axes on or off Alea DIS From Plot Setup check or uncheck _ AXES or In a program type 1 Axes to turn axes on default 0 Axes to turn axes off Connect Draws lines between successively plotted points Function From Plot Setup check or uncheck _ CONNECT Parametric Polar OF Solve In a program type Statistics 1 gt Connect to connect plotted points default except in Statistics where the default is off 0 Connect not to connect plotted points 15 30 Programming Coo
166. ng SHEE Copies the highlighted element to the edit line EH Inserts a row of zeros above or a column of zeros to the left of the highlighted cell You are prompted to choose row or column A three way toggle for cursor advancement in the Matrix editor HE3 advances to the right E3 advances downward and EH does not advance at all aE Switches between larger and smaller font sizes DEL Deletes the highlighted cells row or column you are prompted to make a choice SHIFT CLEAR Clears all elements from the matrix SHIFT Moves to the first row last row first gt lt column or last column respectively 12 4 Matrices To display a matrix To display one element To create a matrix in HOME To store one element e In the Matrix catalog SHIFT MATRIX highlight the matrix name and press HIE In HOME enter the name of the matrix variable and press ENTER In HOME enter matrixname row column For example if M2 is 3 4 5 6 then M2 1 2 returns 4 1 Enter the matrix in the edit line Start and end the matrix and each row with square brackets the shifted and 6 keys 2 Separate each element and each row with a comma Example 1 2 3 4 3 Press to enter and display the matrix The left screen below shows the matrix 2 5 729 16 2 being stored into MS The screen on the right shows the vector 66 33 11 being stored
167. nown data points only To complement the Statistics aplet a new Inference aplet has been added Use this aplet to perform hypothesis tests and determine confidence intervals See About the Inference aplet on page 9 1 for more information The teaching aplets Trig Explorer and Quadratic Explorer have been added to the calculator These two aplets add powerfully to the capabilities of the calculator in the classroom Getting started 1 29 Aplets and their views Aplet 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 About the Symbolic view The Symbolic view is the defining view for the Function Parametric Polar and Sequence aplets The other views are derived from the symbolic expression You can create up to 10 different definitions for each Function Parametric Polar and Sequence aplet You can graph any of the relations in the same aplet simultaneously by selecting them Defining an expression Symbolic view Choose the aplet from the Aplet Library APLET Press a or Y to select yeltic woe let arametric an aba Polar BKB Sequence 68KB RESET SORT SEND RECY The Function Parametric Polar and Sequence aplets start in the Symbolic view If the highlight is on an existing expression scroll to an empty line unless you don t m
168. nsees 2 20 Example plotting a Circle ee ceeceessseseceeseceeseceeeeceseeeneeceeeeeneeeeees 2 21 Contents i Function aplet About the Function aplet 0 eeeeeeseeeeeceeseceseeeceseeeeeneeseeseeeees 3 1 Getting started with the Function aplet eee eeeeeeereeees 3 1 Function aplet interactive analysis 0 0 0 0 cece eeeceeeeeeeseeceeceseeseceseeseens 3 8 Plotting a piecewise defined function example eee eee 3 11 Parametric aplet About the Parametric aplet 0 0 0 cee cceececeeceesecesecesseceneeceeeeesaeeeeeeseeeseeeeee 4 1 Getting started with the Parametric aplet eeeeseeeeseeeeeeseeeersseeeese 4 1 Polar aplet Getting started with the polar aplet essesessseeseseesesseseeereeerssrereses 5 1 Sequence aplet About the Sequence aplet seessesessesesesesseessseerseestsreereresseersresesresreersee 6 1 Getting started with the Sequence aplet ee eee eeeeeeeeeees 6 1 Solve aplet About the Solve aplet occ ere ennast eiee sa eno 7 1 Getting started with the Solve aplet eee ceeeeeeceeeeeeeeeeenes 7 2 Use am imitial FUSS nisreen codes ee eE EEE EEE EEEN i EE 7 5 Interpreting results isisisi rnin oer eei eor E EEs 7 6 Plotting to find QUCSSES ee eee ceeeteceeceseeeeceeeeaeeseecaeesaecaecsaeaecsaeeaeens 7 8 Using variables in equations eee eee eeeeee cee csseeseceseeecesenseeeeeeseeees 7 10 Statistics aplet About the Statistics aplet 0 eee ce ceseeeeceeeeseeseeceesaeceeesaeeeseseeee
169. ntains an equals sign Its solution is a value for the unknown variable that makes both sides have the same value e An expression does not contain an equals sign Its solution is a root that is a value for the unknown variable that makes the expression have a value of zero You can use the Solve aplet to solve an equation for any one of its variables When the Solve aplet is started it opens in the Solve symbolic view e In Symbolic view you specify the expression or equation to solve You can define up to ten equations or expressions named EO to E9 Each equation can contain up to 27 real variables named A to Z and 9 In Numeric view you specify the values of the known variables highlight the variable that you want to solve for and press HIST You can solve the equation as many times as you want using new values for the knowns and highlighting a different unknown Note It is not possible to solve for more than one variable at once Simultaneous linear equations for example should be solved using matrices or graphs in the Function aplet Solve aplet Zi Getting started with the Solve aplet Open the Solve aplet Define the equation Define known 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 The equation to solve is u 2ad Open the Solve aplet APLET Select Solve The Sol
170. number maximum 10 9 minimum 10 9 real part 10 8 real number functions 10 15 10 17 Y CHANGE 10 17 TOTAL 10 17 CEILING 10 15 DEGtoRAD 10 15 FNROOT 10 15 HMSto 10 16 INT 10 16 MANT 10 16 MAX 10 16 MIN 10 16 MOD 10 17 RADtoDEG 10 17 ROUND 10 17 SIGN 10 18 Index TRUNCATE 10 18 XPON 10 18 recalculation for table 2 19 receive error R 20 receiving aplet 16 5 lists 13 6 matrices 12 4 programs 15 8 redrawing table of numbers 2 18 reduced row echelon 12 12 regression analysis 8 17 fit models 8 12 formula 8 12 user defined fit 8 12 regulatory information Canada R 1 USA R 1 relative error statistical 8 17 resetting aplet 16 4 calculator R 4 If calculator does not turn on R 5 memory R 5 result copying to edit line 1 21 reusing 1 21 root interactive 3 9 nth 10 6 variable 15 33 root finding displaying 7 7 interactive 3 8 operations 3 9 variables 3 9 running a program 15 7 S S1mark S5mark variables 15 33 scaling automatic 2 14 decimal 2 9 2 10 2 14 integer 2 11 2 14 2 16 options 2 14 resetting 2 14 trigonometric 2 14 scatter plot 8 15 8 16 connected 8 16 8 18 SCHUR decomposition 12 12 scientific number format 1 10 1 19 scrolling in Trace mode 2 8 searching menu lists 1 8 speed searches 1 8 secant 10 21 sending aplets 16 5 lists 13 6 programs 15 8 sequence definition 2 2 sequence variables Axes 15 30 Grid 15 31 in menu map R 12 Indep 15 32 Labels 15 33 Recent
171. o 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 You can shade a selected area between functions This process also gives you an approximate measurement of the area shaded 1 Open the Function aplet The Function aplet opens in the Symbolic view 2 Select the expressions whose curves you want to study Press to plot the functions 4 Press 4 or gt to position the cursor at the starting point of the area you want to shade Press RENA Press E34 then select Signed area and press A 7 Press E3 choose the function that will act as the boundary of he shaded area and press H3 8 Press the or key to shade in the area 9 Press to calculate the area The area measurement is displayed near the bottom of the screen To remove the shading press to re draw the plot Function aplet Plotting a piecewise defined fun ction example Suppose you wanted to graph the following piecewise defined function x 2 x lt l fo s l lt x lt l 4 x 3x21 1 Open the Function aplet APLET Select Function Highlight the line you want l ESS FUNCTION SYMBOLIC VIEW FICx F2CK F3 K F4 x F5 X cak a ET to use and enter the expression You can press to delete an existing
172. of numeric values NUM Move to X 5 9 Y 6 times Move directly to X 10 10 Zoom in on X 10 by a factor of 4 Note NUMZOOM has a setting of 4 H In Function aplet 3 7 To change font size To display the symbolic definition of a column 27 Display table numbers in large font E Fi 8 875 163 766 8 9 164 41 8 925 165 656 8 95 gt HEH The symbolic definition of F1 is displayed at the bottom of the screen Function aplet interactive analysis From the Plot view PLOT 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 See FCN functions on page 3 9 The FCN operations act on the currently selected graph The results of the FCN functions are saved in the following variables e AREA e EXTREMUM e ISECT e ROOT e SLOPE For example if you use the ROOT function to find the root of a plot you can use the result in calculations in Home 2 Root 2 34JRoot 5 02943725154 3 7778 3 8 Function aplet Access FCN variables FCN functions The FCN variables are contained in the VARS menu To access FCN variables in HOME VARS Select Plot FCN gt a or to choose a variable APLEm HAH a VALUE CANCL To access FCN variable in the Function aplet s Symbolic
173. om DISP line_number textitem Example DISP 3 A is 2 2 Result A is 4 A IS 4 displayed on line 3 Displays the current date and time DISPTIME To set the date and time simply store the correct settings in the date and time variables Use the following formats M DDYYYY for the date and H MMSS for the time Examples 5 152000 DATI EJ sets the date to May 15 2000 T 10 1500 gt TIME sets the time to 10 15 am 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 1 Press SHIFT CMDs D gt SIN 2 Press ALPHA M 1 and then press ENTER The Matrix catalog opens with M1 available for editing EDITMAT matrixname is a shortcut to opening the matrix editor with matrixname 15 26 Programming FREEZE GETKEY INPUT This command prevents the display from being updated after the program runs This allows you to view the graphics created by the program Cancel F REEZE by pressing any key FREEZE Waits for a key then stores the keycode rc p in name where r is row number c is column number and p is key plane number The key planes numbers are 1 for unshifted 2 for shifted 4 for alpha shifted and 5 for both alpha shifted and shifted GETKEY name Creates an input form wi
174. on Receives a list from another HP 39G 40G or a PC See Sending and receiving aplets on page 16 5 for further information Clears the highlighted list Clears all lists Moves to the end or the beginning of the catalog 13 2 Lists List edit keys Create a list in HOME When you press edit to create or change a list the following keys are available to you Key Meaning EDIT Copies the highlighted list item into the edit line IHS Inserts a new value before the highlighted item DEL Deletes the highlighted item from the list SHIFT CLEAR Clears all elements from the list SHIFT or 4 Moves to the end or the beginning of the list 1 Enter the list in the edit line Start and end the list with braces the shifted 8 and 9 keys and separate each element with a comma Press to evaluate and display the list Immediately after typing in the list you can store it in a variable by pressing listname ENTER The list variable names are LO through L9 This example stores the list 25 147 8 in L1 You can omit the final brace when entering a 25 147 83 list ERAD C32 3449 33PL1 Es ae a a ey Lists Displaying and editing lists To display a list e In the List catalog highlight the list name and press ETE e In HOME enter the name of the list and press ENTER To display one In HOME enter listname
175. on the Student s t distribution T Int ly Wy the confidence interval for the difference of two means based on the Student s t distribution 9 2 Inference aple If you choose one of the hypothesis tests you can choose the alternative hypothesis to test against the null hypothesis For each test there are three possible choices for an alternative hypothesis based on a quantitative comparison of two quantities The null hypothesis is always that the two quantities are equal Thus the alternative hypotheses cover the various cases for the two quantities being unequal lt gt and In this section we will use the example data for the Z Test on 1 mean to illustrate how the aplet works and what features the various views present Define the 1 Select the Hypothesis Test inferential method inferential SE INF STAT SYMBOLIC VIEH method elect HYPOTH TEST erie ee POT TEST hur CONE _INTERVAL Cheese an inferential nethed a ee a 2 Define the type of test a Z Test 1 4 3 Select an alternative hypothesis w p lt po Choose alternative hypet Pe CANEL OK At IMF STAT SYMBOLIC VIEW OE HETHOD HYPOTH TEST TRE Z T esti 1 p ALT HYPOTH FR Choose alternative hypothesis a a Inference aplet 9 3 Enter data 4 Enter the sample statistics and population parameters that define the chosen test or interval SHIFT
176. 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 Preface 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 e Key presses are represented as follows SIN COS HOME etc e Shift keys that is the key functions that you access by pressing the SHIFT key first are represented as follows SHIFT CLEAR SHIFT MODES SHIFTJACOS etc e Numbers and letters are represented normally as follows 5 7 A B etc Menu options that is the functions that you select using the menu keys at the top of the keypad are represented as follows Input form fields and choose list items are represented as follows Function Polar Parametric e Your entries as they appear on the command line or within input forms are represented as follows 2 X 3X 5 P 1 Notice P 2 This manual and any examples contained herein are provided as is and are subject to change without notice Except to the extent prohibited by law Hewlett Packard Company makes no express or implied warranty of any kind with regard to this manual and specifically disclaims the implied warranties and conditions
177. open the Program catalog 2 Use the arrow keys to highlight the program you want to edit and press HZ3 The HP 39G 40G opens the 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 Programming 15 5 Editing keys The editing keys are Key Meaning Fuse ERGE aJ Az EESE DEL ENTER SHIFT CLEAR z gt g TEES SHFT emps CHARS Inserts the character at 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 Press SHIFT A Z to lock lower case Backspaces cursor and deletes character Deletes current character Starts a new line Erases the entire program Menus for entering variable names contents of variables math functions and program constants Menus for entering program conmmands Displays all characters To type one highlight it and press EH To enter several characters in a row use the menu key while in the CHARS menu 15 6 Programming Using programs Runa program From HOME type RUN program_name or From the Program catalog highlight the program you want to run and press E3 Regardless of where you start the program all programs run in HOME What you
178. ou can also use the PRVAR command to print the contents of a program or a note PRVAR programname PROG PRVAR notename NOTE Prompt commands BEEP CHOOSE You can use the following commands to prompt users for input during your program or to provide information to users Beeps at the frequency and for the time you specify BEEP frequency seconds 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 The syntax is CHOOSE default_option_number title option optiony option where default_option_number is the number of the option that will be highlighted by default whenever the Choose Box is displayed title is the text displayed in the title bar of the Choose Box and option option are the options listed in the Choose Box Programming 15 25 DISP DISPTIME EDITMAT Example 3 A CHOOSE A COMIC STRIPS DILBERT CALVIN amp HOBBES BLONDIE O TO O TeANiL DILBERT CALYIM amp HOBBES BLONDIE Displays textitem in a row of the display at the line_number A text item consists of any number of expressions and quoted strings of text The expressions are evaluated and turned into strings Lines are numbered from the top of the screen 1 being the top and 7 being the bott
179. oun cue ic to move to the next CSS Ea column 1400 ENTER 920 ENTER 1100 ENTER 2265 2890 ENTER 2200 8 2 Statistics aplet Choose fit and data columns Explore Statistics Setup plot 4 Select a fit in the Symbolic setup view SHIFT SETUP SYMB EED STATISTICS SYMBDLIC SETUP Se ANGLE MEASURE Radians y EME s1Fit EETA eFt Linear Select Linear S3FITLinear S4Fil Linear S SFIT Linear is CHOOSE STATISTICS MODEL TYPE E a You can define up to five explorations of two variable data named S1 to S5 In this example we will create just one S1 Specify the columns that hold the data you want to analyze SYMB HEME STATISTICS SYMBOLIC VEH v1 Ce Fitlimes b Se Fitz m x b ENTER INDEPENDENT e CHEL E Ed EVAL You could have entered your data into columns other than C1 and C2 Find the mean advertising time MEANX and the mean sales MEANY 2 VAR S1 MEANN EREFEEEE MEANX is about 3 3 ra go MEANY 1795 833 minutes and MEANY is Ela te oe about 1796 3 33333333333 Pe TE OK Scroll down to display the value for the correlation coefficient CORR The CORR value indicates how well the linear model fits the data Y 9 times The value is 0 8995 to four significant digits BE a 299530932561 C eS E E E E Change the plotting range to ensure all the data points are plotted and select a differen
180. pe n gt NumRow where n gt 0 Defines the starting value for a table in Numeric view From Num Setup enter a value for NUMSTART or In a program type n gt NumStart Defines the step size increment value for an independent variable in Numeric view From Num Setup enter a value for NUMSTEP or In a program type n gt NumStep where n gt 0 Choose a table format From Num Setup choose Automatic or Build Your Own or In a program type 0 gt NumType for Build Your Own 1 gt NumType for Automatic default Defines the Zoom factor in the Numeric view From Num Setup type in a value for NUMZOOM or In a program type ne NumZoom where n gt 0O Programming 15 41 StatMode Toggles between 1 variable and 2 variable statistics in the Statistics Statistics aplet Does not appear in the Plot Setup input form Corresponds to the and menu keys in Numeric View In a program store the constant name or its number into the variable StatMode 1VAR 1 2VAR 2 Example 1VAR gt StatMode or 1 gt StatMode Note variables The following aplet variable is available in Note view NoteText Use NoteText to recall text previously entered in Note view All Aplets Sketch variables The following aplet variables are available in Sketch view Page Defines a page in a sketch set A sketch set can contain up to All Aplets 10 graphics The graphics can be viewed one at a time using the F323
181. play to the previous 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 3sinx Plot of 3 sinx Zoom In a EEE In Ge Un zoom Un zoom H3 Press a to move to the bottom of the Zoom list Zoom Out ERE Out WH Now un zoom H g FaiH MENU Ho Fain 0 MENU ET eS Ee Aplets and their views X Zoom In EEE X Zoom In W3 Now un zoom X Zoom Out EEE X Zoom Out He Now un zoom Y Zoom In BEE Y Zoom In W3 Now un zoom Y Zoom Out EEE Y Zoom Out Ha Zoom Square EERIE Square Ha 200M TRACE GOTO FCN DEFN MENU Aplets and their views To box zoom 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 1 If necessary press to turn on the menu key labels 2 Press and select GEE 3 Position the cursor on one corner of the rectangle Press HE 4 Use the cursor keys etc to drag to the opposite corner SELECT SECOND CORNER XTC 5 Press IHA to zoom in on the boxed area To set zoom 1 In the Plot view press BEET factors 2 Press EME 3 Select Set Factors and press EER 4 Enter the zoom factors There is one zoom factor for the horizontal scale
182. played by scrolling You can retrieve and reuse any of these values or expressions Faran Input 1 2 3 aie Last input T2 99 7 Last output Edit line 5s77 a a a When you highlight a previous input or result by pressing J the and menu labels appear Highlight the line press a and press E123 The number or expression is copied into the edit line Press SHIFT ANS last answer to put the last result from the HOME display into an expression ANS is a variable that is updated each time you press ENTER To repeat the very last line just press ENTER Otherwise highlight the line press a first and then press ENTER The highlighted expression or number is re entered If the previous line is an expression containing the ANS the calculation is repeated iteratively Getting started 1 21 Example HINT See how SHIFT ANS retrieves and reuses the last result 50 and ENTER updates ANS from 50 to 75 to 100 SO ENTER 25 You can use the last result as the first expression in the edit line without pressing SHIFTJANS Pressing X or J or other operators that require a preceding argument automatically enters ANS before the operator You can reuse any other expression or value in the HOME display by highlighting the expression using the arrow keys then pressing EAZ See Using previous results on page 1 21 for more
183. plore different classes of mathematical operations You select the aplet that you want to work with Aplets come from a variety of sources Built in the HP 39G 40G initial purchase Aplets created by saving existing aplets which have been modified with specific configurations See Creating new aplets based on existing aplets on page 16 1 Downloaded from HP s Calculators web site Copied from another calculator Getting started Aplets are stored in the Aplet library See Aplet library on Eim Inf page 1 15 for further peire OKB information Polar BKB Sequence KE RESET SORT SEND RECU APLET LIERARY HEEE You can modify configuration settings for the graphical tabular and symbolic views of the aplets in the following table See Aplet view configuration on page 1 17 for further information Aplet Use this aplet to explore name Function Real valued rectangular functions y in terms of x Example y 2x BEES Inference Confidence intervals and Hypothesis tests based on the Normal and Students t distributions Parametric Parametric relations x and y in terms of t Example x cos f and y sin f Polar Polar functions r in terms of an angle 0 Example r 2cos 4 Sequence Sequence functions U in terms of n or in terms of previous terms in the same or another sequence such as U _ and U _ gt Example U 0 U 1 and U U _4 U _
184. race mode giving you a view of more of the plot If there is more than one relation displayed press a or to move between relations To jump straight to a value rather than using the Trace function use the menu key Press EE then enter a value Press HA to jump to the value If the menu labels are not displayed press first e Turn off trace mode by pressing HAIS e Turn on trace mode by pressing HA3 To turn the coordinate display off press EEM One of the menu key options is EHE Zooming redraws the plot on a larger or smaller scale It is a shortcut for changing the Plot Setup With the Set Factors option you can specify the factors that determine the extent of zooming and whether the zoom is centered about the cursor ZOOM options Press W select an option and press HE If HEE is not displayed press HIEM Not all HERE options are available in all aplets Option Meaning Center Re centers the plot around the current position of the cursor without changing the scale Box Lets you draw a box to zoom in on See Other views for scaling and splitting the graph on page 2 13 2 8 Aplets and their views Option Meaning Continued In Out X Zoom In X Zoom Out Y Zoom In Y Zoom Out Square Set FACCOrs au Auto Scale Decimal Divides horizontal and vertical scales by the X factor and Y factor For instance if zoom factors are 4 then zoo
185. rd Function Parametric Polar Sequence Solve Statistics Extremum Function FastRes Function Solve Grid All Aplets Hmin Hmax Statistics 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 1 gt Coord to turn coordinate display on default 0 gt Coord to turn coordinate display off Contains the last value found by the Extremum operation in the Plot FCN menu Toggles resolution between plotting in every other column faster or plotting in every column more detail From Plot Setup choose Faster or More Detail or In a program type 1 FastRes for faster default 0 gt FastRes for more detail Turns the background grid in Plot view on or off From Plot setup check or uncheck _ GRID or In a program type 1 gt Grid to turn the grid on 0 Grid to turn the grid off default Defines minimum and maximum values for histogram bars From Plot Setup for one variable statistics set values for HRNG or In a program type ny gt Hmin n Hmax where n gt n Programming 15 31 Hwidth Sets the width of histogram bars Statisties From Plot Setup in 1VAR stats set a value for Hwidth or In a program type n gt Hwidth Indep Defines the value of the independent variable used in tracing All Aplets mode In a program type n Indep InvCross Toggles betw
186. re x is the real part and y is the imaginary part ARG Argument 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 y Example IM 3 4 returns 4 RE Real part x of a complex number x y RE y Example RE 3 4 returns 3 10 8 Using mathematical functions Constants MAXREAL MINREAL The HP 39G 40G has an internal numeric representation for these constants Natural logarithm base Internally represented as 2 71828182846 e Imaginary value for V 1 the complex number 0 1 i Maximum real number Internally represented as 9 99999999999 x 10499 MAXREAL 9 Minimum real number Internally represented as 1 x io MINREAL Internally represented as 3 14159265359 T Hyperbolic trigonometry ACOSH ASINH ATANH COSH SINH TANH The hyperbolic trigonometry functions can also take complex numbers as arguments Inverse hyperbolic cosine cosh x ACOSH value Inverse hyperbolic sine sinh7 y ASINH value Inverse hyperbolic tangent tanh ATANH value Hyperbolic cosine COSH value Hyperbolic sine SINH value Hyperbol
187. reen displays the plot on the left side and a table of numbers on the right side 2 To move up and down the table use the lt 4 and gt cursor keys These keys move the trace point left or right along the plot and in the table the corresponding values are highlighted 3 To move between functions use the a and Y cursor keys to move the cursor from one graph to another 4 To return to a full Numeric or Plot view press or PLOT 2 14 Aplets and their views Overlay plots Decimal scaling Integer scaling Trigonometric scaling If you want to plot over an existing plot without erasing that plot then use VIEWS Overlay Plot instead of PLOT Note that tracing follows only the current functions from the current aplet Decimal scaling is the default scaling If you have changed the scaling to Trig or Integer you can change it back with Decimal Integer scaling compresses the axes so that each pixel is 1 x 1 and the origin is near the screen center Use trigonometric scaling whenever you are plotting an expression that includes trigonometric functions Trigonometric plots are more likely to intersect the axis at points factored by 7 About the numeric view After entering and selecting check marking the expression or expressions that you want to explore in the Symbolic view press to view a table of data values for the independent variable X T 8 or N and dependent varia
188. ress settings CLEAR 2 16 Aplets and their views Exploring the table of numbers NUM view menu keys Zoom within a table ZOOM options The following table details the menu keys that you use to work with the table of numbers Key Meaning EDDIE Displays ZOOM menu list am Toggles between two character sizes EE HE Displays the defining function expression for the highlighted column To cancel this display press HH Zooming redraws the table of numbers in greater or lesser detail The following table lists the zoom options Option Meaning In Out Decimal Integer Trig Un zoom Decreases the intervals for the independent variable so a narrower range is shown Uses the NUMZOOM factor in Numeric Setup Increases the intervals for the independent variable so that a wider range is shown Uses the NUMZOOM factor in Numeric Setup Changes intervals for the independent variable to 0 1 units Starts at zero Shortcut to changing NUMSTART and NUMSTEP Changes intervals for the independent variable to 1 unit Starts at zero Shortcut to changing NUMSTEP Changes intervals for independent variable to 1 24 radian or 7 5 degrees or 81 3 grads Starts at zero Returns the display to the previous zoom Aplets and their views The display on the right is a Zoom In of the display on the left The ZOOM factor is 4 0749297 NUR L
189. riods and semi colons must also be correct Look up the function name in the index to find its proper syntax The where function attempted to assign a value to the variable of integration or summation index You must enter and check an equation Symbolic view before evaluating this function Reference information R 19 Message Meaning Continued OFF SCREEN Receive Error Too Few Arguments Undefined Name Undefined Result Out of Memory Function value root extremum or intersection is not visible in the current screen Problem with data reception from another calculator Re send the data The command requires more arguments than you supplied The global variable named does not exist The calculation has a mathematically undefined result such as 0 0 You must recover a lot of memory to continue operation Delete one or more matrices lists notes or programs using catalogs or custom not built in aplets using SHIFT MEMORY R 20 Reference information Index A absolute value 10 6 add 10 4 algebraic entry 1 18 alpha characters typing 1 6 alphabetical sorting 16 6 angle measure 1 9 in statistics 8 10 setting 1 11 animation 14 5 creating 14 5 annunciators 1 3 Ans last answer 1 22 antilogarithm 10 4 10 10 aplet attaching notes 16 4 clearing 16 4 copying 16 5 definition of R 6 deleting 16 6 Function 10 22 Inference 9 2
190. ror Constant The value of the equation is the same at every point sampled It is important to check the information relating to the solve process For example the solution that the Solve aplet finds is not a solution but the closest that the function gets to zero Only by checking the information will you know that this is the case You can watch the process of the root finder calculating and searching for a root Immediately after pressing to start the root finder press any key except ON You will see two intermediate guesses and to the left the sign of the expression evaluated at each guess For example 2 2 219330555745 121 31111111149 You can watch as the root finder either finds a sign reversal or converges on a local extrema or does not converge at all If there is no convergence in process you might want to cancel the operation press ON and start over with a different initial guess Solve aplet 7 7 Plotting to find guesses The main reason for plotting in the Solve aplet is to help you find initial guesses and solutions for those equations that have difficult to find or multiple solutions Consider the equation of motion for an accelerating body 2 where x is distance vg is initial velocity t is time and a is acceleration This is actually two equations y x and y vott ar 2 x Vof Since this equation is quadratic for t there can be both a positive and a negat
191. rpreting results After Solve has returned a solution press in the Numeric view for more information You will see one of the following three messages Press to clear the message Message Condition Zero The Solve aplet found a point where the value of the equation or the root of the expression is zero within the calculator s 12 digit accuracy Sign Reversal Solve found two points where the value of the equation has opposite signs but it cannot find a point in between where the value is zero This might be because either the two points are neighbours they differ by one in the twelfth digit or the equation is not real valued between the two points Solve returns the point where the value is closer to zero If the value of the equation is a continuous real function this point is Solve s best approximation of an actual root Extremum Solve found a point where the value of the equation approximates a local minimum 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 7 6 Solve aplet HINT The Root Finder at work 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 Therefore the solution was not a real number or it caused an er
192. s 27 3 y4 3 57 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 For example POLYROOT 1 0 0 8 E3 3M1 will store the three complex cube roots of 8 to matrix M1 as a complex vector Then you can see them easily by going to the Matrix Catalog and access them individually in calculations by referring to M1 1 M1 2 etc Probability functions COMB PERM RANDOM Number of combinations without regard to order of n things taken r at a time n Ar n r COMB n r Example COMB 5 2 returns 10 That is there are ten different ways that five things can be combined two at a time Factorial of a positive integer For non integers r x 1 This calculates the gamma function value Number of permutations with regard to order of n things taken r at a time n n r PERM n r Example PERM 5 2 returns 20 That is there are 20 different permutations of five things taken two at a time Random number between zero and 1 Produced by a pseudo random number sequence The algorithm used in the RANDOM function uses a seed number to begin its sequence To ensure that two calculators must produce different results for the RANDOM function use the RANDSEED function to seed different starting
193. s SHIFT SETUP SYMB you can plot your data You can select up to five scatter or box and whisker plots at a time You can plot only one histogram at a time 1 In Symbolic view SYMB select Gui the data sets you want to plot For one variable data 2E select the plot type in Plot Setup SHIFT SETUP PLOT Highlight STATP LOT press EA select either Histogram or BoxWhisker and press HE 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 with the HWIDTH setting Press PLOT If you have not adjusted the Plot Setup yourself you can try select Auto Scale Wa Auto Scale can be relied upon to give a good starting scale which can then be adjusted in the Plot Setup view Statistics aplet Plot types Histogram Box and Whisker Plot Scatter Plot One variable statistics The numbers below the plot mean that the current bar where the cursor is starts at 0 and ends at 2 not including 2 and the frequency for this column H1 0 29 Fl GES that is the number of data elements that fall between 0 and 2 is 1 You can see information about the next bar by pressing the gt key One variable statistics The left whisker marks the minimum data value The box marks the first quartile the median and the third quartile The right whisker marks the maximum dat
194. s fit Fits to a logarithmic curve y mlnx b Fits to an exponential curve y be Fits to a power curve y bx Fits to a quadratic curve y ax bx c Needs at least three points Fits to a cubic curve y ax gt bx cx d Needs at least four points Fits to a logistic curve sr L eee L ae where L is the saturation value for growth You can store a positive real value in L or if L 0 let L be computed automatically Define your own expression in Symbolic view N e In Numeric view make sure EMAA is set Display the Symbolic view 3 Highlight the Fit expression Fit 1 etc for the desired data set 4 Type in an expression and press ENTER The independent variable must be X and the expression must not contain any unknown variables Example 1 5 x cosx 0 3 x sinx This automatically changes the Fit type S1F IT etc in the Symbolic Setup view to User Defined Statistics aplet Computed statistics One variable Statistic Definition NE Number of data points TOTE Sum of data values with their frequencies MEANY Mean value of data set PVARZ Population variance of data set SVARE Sample variance of data set PSDEV Population standard deviation of data set SSDEV Sample standard deviation of data set MINE Minimum data value in data set Q1 First quartile median of ordinals to left of median MEDIAN Median value of data set
195. s then runs a eS a a CN EKSP program that allows you to configure the angle format 15 10 Programming Configuring the Setviews menu option programs Create a program called EMES PROGRAM EXP ME2 with contents L eNumSt art 5 geunst api as shown This program MSGBOX Numeric Coe Yelues set I sets the numeric view RUH EF AHG options for the aplet and runs the program that you can use to configure the angle mode Create a program called EXP ANG PROGKA EXP ANG which the H zy HOOSE C previous two programs WHAGLE MEASURE Degrees call Radians Grads Create a program called EXP PROGRAM i ngle EXP S which runs when rong tee eyy you start the aplet as CHECK 1 shown This program sets the angle mode to 575 a NEE Tal degrees and sets up the initial function that the aplet plots In this section we will begin by configuring the VIEWS menu by using the SETVIEWS command We will then create the helper programs called by the VIEWS menu which will do the actual work Open the Program catalog and create a program named EXP SV Include the following code in the program Text shown in italics below are comments only Each entry line after the HPS PROGRAM command SETVIEWS is EXP MEL My a trio that consists of a Entrue aoe ME2 3 35 VIEWS menu text line a EnEn ANG ibs START SP space indi
196. se to plot each data set Press HEZE to change the highlighted setting CONNECT on the second page when checkmarked connects the data points as they are plotted The resulting line is not the regression curve The order of plotting is according to the ascending order of independent values For instance the data set 1 1 3 9 4 16 2 4 would be plotted and traced in the order 1 1 2 4 3 9 4 16 Statistics aplet Trouble shooting a plot If you have problems plotting check that you have the following The correct EHS or HA menu label on Numeric 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 Try using Auto Scale instead of PLOT or adjust the plotting parameters in Plot Setup for the ranges of the axes and the width of histogram bars HWIDTH In HMA mode ensure that both paired columns contain data and that they are the same length In EES mode ensure that a paired column of frequency values is the same length as the data column that it refers to Statistics aplet Exploring the graph The Plot view has menu keys for zooming tracing and coordinate display There are also scaling options under VIEWS These options are described in Exploring the graph on page 2 7 Statistics aplet s PLOT view keys A ey Meaning SHIFT CLEAR
197. sed for analysis of one variable and two variable statistical data Stat One commands DO1VSTATS SETFREQ SETSAMPLE Calculates STATS using datasetname and stores the results in the corresponding variables NX Tot Mean amp PVary SVarz PSDev SSDev Min Q1 Median Q3 and Max Datasetname can be H1 H2 or H5 Datasetname must define at least two data points DO1VSTATS datasetname Defines datasetname frequency according to column or value Datasetname can be H1 H2 or H5 column can be CO C9 and value can be any positive integer SETFREQ datasetname column or SETFREQ definition value Defines datasetname sample according to column Datasetname can be H1 H5 and column can be CO C9 SETSAMPLE datasetname column Stat Two commands DO2VSTATS SETDEPEND SETINDEP Calculates STATS using datasetname and stores the results in corresponding variables MeanX X 2X2 MeanY LY LY2 XXY Corr PCov SCov and RELERR Datasetname can be SI S2 or S5 Datasetname must define at least four pairs of data points DO2VSTATS datasetname Defines datasetname dependent column Datasetname can be S1 S2 or S5 and column can be CO C9 SETDEPEND datasetname column Defines datasetname independent column Datasetname can be S1 S2 or S5 and column can be CO C9 SETINDEP datasetname column Programming 15 29 Storing a
198. sents the probability distribution function Vertical lines mark the critical value s of the test as well as the value of the test statistic The rejection region is marked lt R and the test numeric results are displayed between the horizontal axes Importing Sample Statistics from the Statistics aplet The Inference aplet supports the calculation of confidence intervals and the testing of hypotheses based on data in the Statistics aplet Computed statistics for a sample of data in a column in any Statistics based aplet can be imported for use in the Inference aplet The following example illustrates the process A calculator produces the following 6 random numbers 0 529 0 295 0 952 0 259 0 925 and 0 592 Open the 1 Open Statistics aplet Note Reset current settings Statistics aplet APLET Select Statistics RESET The Statistics aplet opens in the Numeric view Inference aplet 9 5 Enter data HINT Calculate Statistics Open Inference aplet In the C1 column enter the random numbers produced by the calculator 9529 295 J952 J259 J925 9592 If the Decimal Mark setting in the Modes input form SHIFT MODES is set to Comma use instead of 3 If necessary select 1 variable statistics Do this by pressing the fifth menu key until is displayed as its menu label Calculate statistics The mean of 0 592 seems a little large compared to the exp
199. sessecsseesecnsecnseeseeneensees 9 12 One Sample T Test sei sc sessstescessssesisies shsecsatcpobennedbes cbpeseboysvioessseustay 9 13 Two Sample T Test oo eee ce csessecsseeseceeceseesseeseeeeseseseaecaaeeaeenaes 9 14 Confidence mtervalls sciscciscsssssessscestbnes seeroete sotet p esa ri tikara ESTES 9 16 One Sample Z Interval eseseeeeseeeeseseesesessrrresreresteerrreerrsesrerersenees 9 16 Two Sample Z Interval esseeeseeeeseeeeseeeeseeesrrreresesserrrsrrresreerrrreree 9 17 One Proportion Z Interval eeesseeeseeeeeeseeeeeeresresrrrserersreerrrrere 9 18 Two Proportion Z Interval eessseeeseeeeeeseeesreereseesrrrssrrsrerereesenees 9 19 One Sample T Interval seseeeeseeeesesessesesserresreresteerrrrerrsesrererseeees 9 20 Two Sample T Interval eseeseseeeeeeeeeeeeseseeesrrreresesserrrsrrreseererrreree 9 21 10 Using mathematical functions Math TUM CIONS neinn e er r E E ETE E Eh 10 1 The MATH Me nus sree ss eiit srren iiser riens ee ie 10 1 Math functions by category eeseseseesseeeeseeeeseesrerreseerrsreresessrsreserresreerere 10 3 Keyboard functions ics cesscecsssessscscssnsescesceeeseepesscvesoestsoncssenssssasses 10 4 Calculus functions setesi oere ernia e 10 7 Complex number functions esssseseseeeeeeseerseeeresteererrerrsrerereseeess 10 8 Constants i 555i a ieee sett asia aia neither hove ees 10 9 Hyperbolic trigonometry cece eee eeecceseeeeeseecsecssessecnseeeeneensees 10 9
200. st containing one integer n REDIM name size REPLACE Replaces portion of a matrix or vector stored in name with an object starting at position start start for a matrix is a list containing two numbers for a vector it is a single number Replace also works with lists and graphics REPLACE name start object SCALE Multiplies the specified row_number of the specified matrix by value SCALE name value rownumber SCALEADD Multiplies the row of the matrix name by value then adds this result to the second specified row SCALEADD name value rowl row2 SUB Extracts a sub object a portion of a list matrix or graphic from object and stores it into name start and end are each specified using a list with two numbers for a matrix a number for vector or lists or an ordered pair X Y for graphics SUB name object start end SWAPCOL Swaps Columns Exchanges column and column of the specified matrix SWAPCOL name column column2 SWAPROW Swap Rows Exchanges rowland row2 in the specified matrix SWAPROW name rowl row2 15 24 Programming Print commands PRDISPLAY PRHISTORY PRVAR These commands print to an HP infrared printer for example the HP 82240B printer Note The HP 40G does not have an infrared port and will not print to an infrared printer Prints the contents of the display PRDISPLAY Prints all objects in the history PRHISTORY Prints name and contents of variablename PRVAR variablename Y
201. started Setting fraction precision The fraction precision setting determines the precision in which the HP 39G 40G converts a decimal value to a fraction The greater the precision value that is set the closer the fraction is to the decimal value By choosing a precision of 1 you are saying that the fraction only has to match 0 234 to at least 1 decimal place 3 13 is 0 23076 The fractions used are found using the technique of continued fractions When converting recurring decimals this can be important For example at precision 6 the decimal 0 6666 becomes 3333 5000 6666 10000 whereas at precision 3 0 6666 becomes 2 3 which is probably what you would want For example when converting 234 to a fraction the precision value has the following effect e Precision set to 1 2234 3713 EA a E E e Precision set to 2 TOF e Precision set to 3 FARADI 234 234 11 47 EA e A E E e Precision set to 4 EFRADI 234 234 117 588 stor SE ET SE Getting started 1 25 Fraction When entering fractions calculations e You use the key to separate the numerator part and the denominator part of the fraction e To enter a mixed fraction for example 11 you enter it in the format 14 5 For example to perform the following calculation 3 27 4 57 g 1 Set the mode Number format to fraction SHIFT moves F PEER Select ANGLE MEASURE
202. sure to the infrared LED beam Be aware that the beam is invisible light and cannot be seen Do not attempt to view the infrared LED beam with any type of optical device CLASS 1 LED PRODUCT LEDSCHUTZKLASSE 1 PRODUKT HP 39G 40G Graphical Calculator Warranty period 12 months l HP warrants to you the end user customer that HP hardware accessories and supplies will be free from defects in materials and workmanship after the date of purchase for the period specified above If HP receives notice of such defects during the warranty period HP will at its option either repair or replace products which prove to be defective Replacement products may be either new or like new 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 If HP receives notice of such defects during the warranty period HP will replace software media which does not execute its programming instructions due to such defects R 2 Reference information HP does not warrant that the operation of HP products will be uninterrupted or error free If HP is unable within a reasonable time to repair or replace any product to a condition as warranted you will be entitled to a refund of the purchase price upon prompt return of the product HP products may contain re manufactur
203. t M H i FU Inputs The inputs are Field name Definition xl Sample 1 mean x2 Sample 2 mean nl Sample 1 size n2 Sample 2 size ol Population 1 standard deviation 02 Population 2 standard deviation a Significance level 9 10 Inference aple Results One Proportion Z Test Menu name Inputs 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 amp level that you supplied Z Test 1P On the basis of statistics from a single sample this test measures the strength of the evidence for a selected hypothesis against the null hypothesis The null hypothesis is that the proportion of successes in the two populations is equal HoT Ty You select one of the following alternative hypotheses against which to test the null hypothesis H n lt To H n gt To H nET The inputs are Field name Definition x Number of successes in the sample n Sample size To Population proportion of successes a Significance level Inference aplet Results The results are Result Description Test P Test Z Prob Critical Z Proportion of successes in the sample Z Test statistic Probability associated with the Z Test statistic Boundary value of Z associated with the level you supplied Two Proportion Z Test Menu name Z Test P1 P2 O
204. t point mark if you wish SAIEUSETUP PLOT ZED STATISTICS PLOT SETUP gt 7 ENTER RNG 2 7 TRNG 106 4008 100 ENTER SIMARK E S2MARK SOMARK d 4000 SHMARK 1 SSMARK 3 CHOOSE MARK FOR SCATTER PLOT CHOOS PAGE Statistics aplet 8 3 Plot the graph Draw the regression curve Display the equation for best linear fit 9 10 11 12 Plot the graph 10 112 1400 MENU Draw the regression curve a curve to fit the data points HEHH This draws the L regression line for the TRACE GOTO FIT a DEFN HEHU best linear fit Return to the Symbolic view ENZ STATISTICS SYMBOLIC VIEW See vSi ce VE it 1 425 875 K 376 Fit2 m x b ENTER INDEPENDENT evr vc c SHOW EVAL Display the equation for the best linear fit Y to move to the FIT1 field SHOP 425 8754 376 25 The full FIT1 expression is shown The a ee slope m is 425 875 The y intercept b is about 376 25 8 4 Statistics aplet Predict values 13 To find the predicted sales figure if advertising were to go up to 6 minutes BE HOME MATH S to highlight Stat Two PREDY 6 gt to highlight PBS PRED Y em O T TTT H3 6 ENTER 14 Return to the Plot view PLOT 200M TKACe GOTO FIT DEFN MENU 15 Jump to the indicated point on the regression line Y 6 E D
205. t settings N me gx FT SETUP PLOT FT CLEAR HTICK 1 YTICK 1 RES Detail ENTER MINIMUM HORIZONTAL VALUE a a 3 Plot the two functions and hide the menu so that you can see all the circle POT EEE mam 4 Reset the numeric setup to the default settings SHIFT SETUP NUM HESS FUNCTION NUMERIC SETUP SARE NUMSTART SHIFT CLEAR NUMSTEF 1 NUMTYPE Automatic NUMzO0M 4 ENTER STARTING VALUE FOR TABLE De ee ee 5 Display the functions in numeric form NUM 2 20 Aplets and their views Function aplet About the Function aplet The Function aplet enables you to explore up to 10 real valued rectangular functions y in terms of x For example y 2x 3 Once you have defined a function you can create graphs to find roots intercepts slope signed area and extrema e create tables to evaluate functions at particular values This chapter demonstrates the basic tools of the Function aplet by stepping you through an example See Aplet views on page 2 1 for further information about the functionality of the Symbolic Numeric and Plot views Getting started with the Function aplet Open the Function aplet The following example involves two functions a linear function y 1 x and a quadratic equation 2 y x 3 2 1 Open the Function aplet APLET Select Function TION SYMBOLIC VIEW
206. t size The smaller character size cannot display lowercase letters Press HZ Position the label where you want it by pressing the 4 v gt 4 keys Press HMA again to affix the label Press to continue drawing or press to exit Sketch view You can create a set of up to ten sketches This allows for simple animation After making a sketch press to add a new blank page You can now make a new sketch which becomes part of the current set of sketches To view the next sketch in an existing set press HEIE4 Hold E4 down for animation To remove the current page in the current sketch series press DEL You can define a portion of a sketch inside a box and then store that graphic into a graphics variable i In the Sketch view display the sketch you want to copy store into a variable Press EH Highlight the variable name you want to use and press Draw a box around the portion you want to copy move the cursor to one corner press MA then move the cursor to the opposite corner and press HZ Notes and sketches 14 5 To importa You can copy the contents of a graphics variable into the graphics variable Sketch view of an aplet 1 Open the Sketch view of the aplet SHIFT SKETCH The graphic will be copied here 2 Press VARS EEISIS Highlight Graphic then press gt and highlight the name of the variable G1 etc 3 Press EES to recall the contents of the grap
207. te radio frequency energy and may interfere with radio and television reception The calculator complies with the limits for a Class B digital device pursuant to Part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference in a residential installation However there is no guarantee that interference will not occur in a particular installation In the unlikely event that there is interference to radio or television reception which can be determined by turning the calculator off and on the user is encouraged to try to correct the interference by one or more of the following measures e Reorient or relocate the receiving antenna e Relocate the calculator with respect to the receiver To maintain compliance with FCC Rules and Regulations use only the cable accessories provided This Class B digital apparatus complies with Canadian EMC Class B requirements Cet appareil num rique de la classe B est comforme 4 la classe B des normes canadiennes de compatibilit lectromagn tiques CEM Reference information R 1 LED safety Warranty The infrared port located on the top of the calculator is classified as a Class 1 LED light emitting diode device according to International Standard IEC 825 1 EN 60825 1 This device is not considered harmful but the following precautions are recommended Do not attempt to make any adjustments to the unit Avoid direct eye expo
208. te sin x 2cosx 1 Access the Function aplet s Symbolic view and define F1 SIN Hi x2 0 E FUNCTION SVMEOLIC VIEW SERE E20 YFICXI SINCKZ 2400 COS EH pE F u F4 X F5 7 EDIT V CHK SHOH EVAL 2 Define F2 X as the SARE FUNCTION SYMEOLIC VIEH SER iat VFICKO SINC XK 94 24C0 derivative of F 1 F SCF 1 CX D E F4 X F1 E F5 xX x HAE Ee ee ENNET 3 Select F2 X and GEE FUNCTION SYMBOLIC VIEH See evaluate it Papa T ere 7 F j jaa F4cX FSCK x EMANE ee 4 Press to display the result Use the arrow keys to view the entire function zH Fac cosls hax 2 SINCh ass Be es HP 39G HP 40G You could also just define F1 x dx sin x 2cos x 10 24 Using mathematical functions To find the indefinite integral using formal variables HINT For example to find the indefinite integral of fx 5dx use fc 81 3x 5 x 1 Enter the function Rela ECA FCD S1 3882 5 89 ALPHAJS I L 3 x Saha Se CRM SBEARCKID La aPa Xw SQ OO e ALP A XD ENTER ee Ee ees 5 If the Decimal Mark setting in the Modes input form SHIFT MODES is set to Comma use instead of 7 2 Show the result format 3 h a EN 5 2 54 3H SK y 5 3 3 51 3 Press HA to close the M show window 4 Copy the result and evaluate cor
209. th a title bar and one field The field has a label and a default value There is text help at the bottom of the form The user enters a value and presses the 13 menu key The value that the user enters is stored in the variable name The title label and help items are text strings and need to be enclosed in double quotes Use SHIFT CHARS to type the quote marks INPUT name title label help default Example INPUT R Circular Area Radius Enter Number 1 Programming 15 27 MSGBOX 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 For example AREA IS 2 2 becomes AREA IS 4 Use SHIFT CHARS to type the quote marks MSGBOX textitem Example 1 gt A MSGBOX AREA IS m A 2 You can also use the NoteText variable to provide text arguments This can be used to insert line breaks For example press SHIFT NOTE and type AREA IS ENTER The position line MSGBOX NoteText m A 2 will display the same message box as the previous example PROMPT Displays an input box with name as the title and prompts for a value for name name can only be one character in length PROMPT name WAIT Halts program execution for the specified number of seconds WAIT seconds 15 28 Programming Stat One and Stat Two commands The following commands are u
210. then the math key for which you require syntax help Press SYNTAX 2 ENTER HELPHITH 4 Note Remove the left parenthesis from built in commands such as sine cosine and tangent before invoking the HELPWITH command 1 6 Getting started Math keys HINT Program commands Inactive keys HOME HOME is the place to do calculations Keyboard keys The most common operations are available from the keyboard such as the arithmetic like and trigonometric like SIN functions Press ENTER to complete the operation SHIFT V 256 ENTER displays 16 MATH menu Press pee RSE ATH FUNCTION to open the MATH menu The RPEN CEILING MATH menu is a Stat Two DEG RAD 3 Symbolic FLOOR comprehensive list of math Tests FHROOT l functions that do not appear on i 3 E the keyboard It also includes categories for all other functions and constants The functions are grouped by category ranging in alphabetical order from Calculus to Trigonometry The arrow keys scroll through the list a and move from the category list in the left column to the item list in the right column gt Press to insert the selected command onto the edit line Press A15 to dismiss the MATH menu without selecting a command Pressing displays the list of Program Constants You can use these in programs that you develop Pressing takes yo
211. ting the calculator wet Battery operates at 4 5V dc 60mA maximum Batteries When battery power is low the annunciator stays on even when the calculator is off There is also a warning Reference information R 7 CAUTION The Netherlands message that appears when the calculator is on Warning Low Bat The HP 39G 40G uses three AAA batteries Be sure all three are of the same brand and type Rechargeable batteries are not recommended because of their lower capacity and more sudden demise To replace batteries 1 Turn the calculator off and place the slide cover over the keyboard to prevent keys from being pressed Your calculator can lose memory if it is turned on while the batteries are being removed Under no circumstances should the batteries be deliberately inserted backwards and the calculator turned on This may cause hardware damage and will void the warranty 2 Remove the battery compartment door from the rear of the calculator by pressing down on the dimple and pushing the door off 3 Replace the batteries within 2 minutes to avoid memory loss Position the fresh batteries according to the diagram inside the battery compartment This regulation applies only to The Netherlands 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
212. trix 12 10 differentiation 10 7 display 15 20 adjusting contrast 1 2 annunciator line 1 2 capture 15 20 clearing 1 2 date and time 15 26 element 12 5 engineering 1 10 fixed 1 10 fraction 1 10 history 1 21 line 1 21 list elements 13 4 matrices 12 5 parts of 1 2 printing contents 15 25 rescaling 2 14 scientific 1 10 scrolling through history 1 23 soft key labels 1 2 standard 1 10 divide 10 4 drawing circles 14 4 keys 14 4 lines and boxes 14 3 Drawing commands ARC 15 19 BOX 15 19 ERASE 15 19 FREEZE 15 20 LINE 15 20 PIXOFF 15 20 PIXON 15 20 TLINE 15 20 E e 10 9 edit line 1 2 editing matrices 12 4 notes 14 2 programs 15 5 Editline Program catalog 15 2 editors 1 28 eigenvalues 12 11 eigenvectors 12 11 element storing 12 5 E lessons 1 11 engineering number format 1 10 equals for equations 10 19 logical test 10 20 equations solving 7 1 erasing a line in Sketch view 15 20 error messages bad guesses 7 7 constant 7 7 exclusive OR 10 21 executing programs 15 7 exiting views 1 17 exponent minus 1 10 10 of value 10 18 raising to 10 6 expression defining 2 1 R 6 entering in HOME 1 18 evaluating in aplets 2 3 literal 10 20 plot 3 3 extremum interactive 3 9 F factorial 10 13 FastRes variable 15 31 fit a curve to 2VAR data 8 17 choosing 8 11 defining your own 8 12 regression curve 1 29 Index fixed number format 1 10 font size change 3 8 14 5 forecasting 8 21 fraction n
213. ts 2 8 transmitting lists 13 6 matrices 12 4 programs 15 8 transposing a matrix 12 13 trigonometric functions 10 21 scaling 2 11 2 14 2 16 trigonometry cosine 10 9 trigonometry functions ACOT 10 21 ACSC 10 21 ASEC 10 21 COT 10 21 CSC 10 21 SEC 10 21 sine cosine tangent 10 4 trng 2 5 troubleshooting R 1 truncating values to decimal places 10 18 tstep 2 5 15 35 Two Proportion Z Interval 9 19 Two Proportion Z Test 9 12 Two Sample T Interval 9 21 Two Sample T test 9 14 Two Sample Z Interval 9 17 typing letters 1 6 U undefined name R 20 result R 20 un zoom 2 11 upper tail chi squared probability 10 14 upper tail normal probability 10 14 upper tail snedecor s f 10 14 upper tail student s t probability 10 14 user defined regression fit 8 12 user prompts 15 25 l 12 Index V value go directly to 3 7 recall 11 3 storing 11 2 variables aplet 11 1 categories 11 7 definition 11 1 11 7 R 7 in equations 7 10 in Symbolic view 2 3 independent 15 35 local 11 1 previous result Ans 1 22 printing 15 25 root 15 33 root finding 3 9 step size of independent 15 35 types 11 1 11 7 use in calculations 11 4 VARS menu 11 4 11 5 map R 8 vectors column 12 1 cross product 12 10 definition of R 7 views 1 17 configuration 1 17 definition of R 7 W warning symbol 1 7 warranty R 2 where command 10 20 X xmg 2 5 Y Ycross variable 15 36 yrng 2 5 Z Z Interval 9 16 zoom 2 18 a
214. u to the beginning of the MATH menu See Math functions by category on page 10 3 for details of the math functions When using the MATH menu or any menu on the HP 39G 40G 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 first Just press the key that corresponds to the command s beginning alpha character Pressing SHIFT CMDsS displays the list of Program Commands See Programming commands on page 15 14 If you press a key that does not operate in the current context a warning symbol like this A appears There is no beep Getting started Menus To search a menu To cancel a menu items Menus are displayed in AA EMANE A menu offers you a choice of x one or two columns kd The d arrow in the display ATH FUNCTIONS means more items below lCEILING f f Stat Two DEG gt RAD The F3 arrow in the display Symbolic FLOOR FIFHROOT j means more items above CEDETHA E caNCL OK Press or to scroll through the list If you press SHIFT or SHIFT 4 you ll go all the way to the end or the beginning of the list Highlight the item you want to select then press EES or ENTER 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
215. ue for Z Au Min Lower bound for u4 p2 Au Max Upper bound for u pz Inference aplet 9 17 One Proportion Z Interval Menu name Z INT 1 P 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 Inputs The inputs are Field name Definition x Sample success count n Sample size C Confidence level Results The results are Result Description Critical Z Critical value for Z m Min Lower bound for 7 n Max Upper bound for 7 9 18 Inference aplet Two Proportion Z Interval Menu name Z INT P1 P2 This option uses the Normal Z distribution to calculate a confidence interval for the difference between the proportions of successes in two populations Inputs The inputs are Field name Definition Sample 1 success count Sample 2 success count Sample 1 size Sample 2 size Confidence level Results The results are Result Description Critical Z At Min AT Max Critical value for Z Lower bound for the difference between the proportions of successes Upper bound for the difference between the proportions of successes Inference aplet One Sample T Interval Menu name T INT 1 u This option uses the Student s t
216. umber format 1 10 full precision display 1 10 function analyse graph with FCN tools 3 3 definition 2 2 definition of R 6 entering 1 18 gamma 10 13 intersection point 3 4 math menu R 15 quadratic 3 4 slope 3 5 syntax 10 3 tracing 2 8 Function aplet 2 21 3 1 function variables Area 15 30 Axes 15 30 Connect 15 30 FastRes 15 31 Grid 15 31 in menu map R 9 Indep 15 32 Isect 15 32 Labels 15 33 Recenter 15 33 Root 15 33 Ycross 15 36 G glossary R 6 graph analyzing statistical data in 8 20 auto scale 2 14 box and whisker 8 16 capture current display 15 20 cobweb 6 2 comparing 2 5 connected points 8 16 defining the independent variable 15 35 drawing axes 2 6 expressions 3 3 grid points 2 6 in Solve aplet 7 8 index values 2 6 one variable statistics 8 18 overlaying 2 16 scatter 8 15 8 16 split screen view 2 15 splitting into plot and close up 2 14 splitting into plot and table 2 14 stairsteps 6 2 statistical data 8 15 t values 2 5 tickmarks 2 6 tracing 2 8 Graphic commands DISPLAY 15 20 GROB 15 21 GROBNOT 15 21 GROBOR 15 21 GROBXOR 15 21 MAKEGROB 15 21 PLOT 15 21 REPLACE 15 22 SUB 15 22 ZEROGROB 15 22 graphics copying 14 6 copying into Sketch view 14 6 storing and recalling 14 6 15 20 guarantee R 2 H histogram 8 15 adjusting 8 15 range 8 18 setting min max values for bars 15 31 width 8 18 history 1 2 15 25 Home 1 1 calculating in 1 18 display 1 2 evaluating expressions 2 3 reusing lines 1 21
217. ust have the same length since the calculation pairs up the elements If there are two arguments and one is a real number then the calculation pairs the number with each element of the list Example 5 1 2 3 returns 5 10 15 Besides the common operators that can take numbers matrices or lists as arguments there are commands that can only operate on lists CONCAT Concatenates two lists into a new list CONCAT list1 list2 Example CONCAT 1 2 3 4 returns 1 2 3 4 ALIST Creates a new list composed of the differences between the sequential elements in ist The new list has one fewer elements than list The first differences for x x2 x are Xo X e Xp Xn ALIST listl Example In HOME store 3 5 8 12 17 23 in L5 and find the first differences for the list SHIFT 3 5 8 12 17 23 SHIFT ALPHA L 5 ENTER MATH L gt Select ALIST ALPHA L5 MAKELIST 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 Example In HOME generate a list of squares from 23 to 27 MATH L gt Select AKELIST ALPHAJA x2 MAKELISTCA2s A 2352751 JAHA J23 27 522576625 bre ER LJ1 D ee EE SEE
218. ution or Student s t distribution to calculate probabilities One Sample Z Test Menu name Inputs Z Test 1 u On the basis of statistics from a single sample the 1 mean Z Test measures the strength of the evidence for a selected hypothesis against the null hypothesis The null hypothesis is that the population mean equals a specified value H Up You select one of the following alternative hypotheses against which to test the null hypothesis Hy lt Uo Ay gt Uo HU Ho The inputs are Field name Definition x Sample mean n Sample size Ho Hypothetical population mean fo Population standard deviation a Significance level Inference aplet 9 9 Results 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 level that you supplied Critical x Boundary values of x required by the amp value that you supplied Two Sample Z Test Menu name Z Test p1 p2 On the basis of two samples each from a separate population this test measures the strength of the evidence for a selected hypothesis against the null hypothesis The null hypothesis is that the mean of the two populations are equal Hy 44 W You select one of the following alternative hypotheses against which to test the null hypothesis Athy lt W H M g
219. value2 2 Greater than or equal to Returns 1 if true 0 if false valuel gt value2 10 20 Using mathematical functions AND IFTE NOT OR XOR Compares value and value2 Returns 1 if they are both non zero otherwise returns 0 valuel AND value2 If expression is true do the trueclause if not do the falseclause IFTE expression trueclause falseclause Example IFTE X gt 0 X7 X Returns 1 if value is zero otherwise returns 0 NOT value Returns 1 if either value or value2 is non zero otherwise returns 0 valuel OR value2 Exclusive OR Returns 1 if either value or value2 but not both of them is non zero otherwise returns 0 valuel XOR value2 Trigonometry functions ACOT ACSC ASEC COT CSC SEC The trigonometry functions can also take complex numbers as arguments For SIN COS TAN ASIN ACOS and ATAN see the Keyboard category Arc cotangent ACOT value Arc cosecant ACSC value Arc secant ASEC value Cotangent cosx sinx COT value Cosecant 1 sinx CSC value Secant 1 cosx SEC value Using mathematical functions 10 21 Symbolic calculations In HOME Using formal variables Symbolic calculations in the Function aplet The HP 39G 40G has the ability to perform symbolic calculations for example symbolic integration and differentiation You can perform symbolic calculations in HOME and in the Function aplet
220. ve aplet starts in the Symbolic view RESET SORT SEND RECY Define the equation ve SOLVE SYMEOLIC VIEH UD VEL ve z 200 LEZ Tee te aie 3 AG E4 i ALPHA D ENTER Ee ee EVAL Note You can use the B menu key to assist in the entry of equations Display the Solve numeric view screen variables NUM SOLVE NUMERIC VIE ENTER VALUE OR PRESS SOLVE Enter the values for the known variables 27 78 SOLVE NUMERIC VIE 16 67 i F k Bore 1 ENTER w 108 09 ENTER VALUE OR PRESS SOLVE HINT Ifthe Decimal Mark setting in the Modes input form SHIFT MODES is set to Comma use instead of 7 2 Solve aplet Solve the unknown variable Plot the equation 5 Solve for the unknown variable A D ao OLYE NUMERIC VIEH y U D Therefore 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 is approximately 2 47 m s2 Because the variable A in the equation is linear once values are substituted into V U and D we know that we need not look for any other solutions The Plot view shows one graph for each member of the selected equation You can choose any of the variables in the Numeric view to be the independent variable The other variables take on the values assigned to them in the Numeric view The current equation is U 2AD W
221. vertical values of the All Aplets plot screen Appears as the YRNG fields vertical range in the Plot Setup input form From Plot Setup enter the values for YRNG or In a program type ny gt Ymin ny Ymax where n gt n 15 36 Programming Xzoom All Aplets Yzoom All Aplets Sets the horizontal zoom factor From Plot ZOOM Set Factors enter the value for XZOOM or In a program type n gt XZOOM where n gt 0 Sets the vertical zoom factor From Plot ZOOM Set Factors enter the value for Y ZOOM or In a program type n gt YZOOM Symbolic view variables Angle All Aplets F1 F9 FO Function The following aplet variables available in the Symbolic view Sets the angle mode From Symbolic Setup choose Degrees Radians or Grads for angle measure or In a program type 1 Angle for Degrees 2 Angle for Radians 3 gt Angle for Grads Can contain any expression Independent variable is X Example SIN X gt F1 X In the above example you must put single quotes around the expression to keep it from being evaluated before it is stored Use SHIFT CHARS to type the single quote mark Programming 15 37 X1 Y1 X9 Y9 X0 Y0 Can contain any expression Independent variable is T Example Parametric SIN 4 T gt Y1 T 2 SIN 6 T STOP X1 T R1 R9 RO Can contain any expression Independent variable is 0 noe Example 2 SIN
222. ws Symbolic Plot and Numeric the six supporting aplet views from the VIEWS menu and the two user defined views Note and Sketch Press to display the aplet s Symbolic view You use this view to define the FUNCTION SYMEOLIC VIEW SSE function s or equation s that Am pero ha you want to explore F F4CK See About the Symbolic Fasas i PeOIT v cHK SHOW EVAL view on page 2 1 for further information 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 Ko FLR 7 MENU Press to display the aplet s Numeric view In this view the functions that you have defined are displayed in tabular format See About the numeric view on page 2 15 for further information Getting started Plot Table view Plot Detail view Overlay Plot view Note view Sketch view The VIEWS menu contains the Plot Table view VIEWS Select Plot Table Splits the screen into the plot and the data table See Other views for scaling and splitting the graph on page 2 13 for futher information ET a a E The VIEWS menu contains the Plot Detail view VIEWS Select Plot Detail Splits the screen into the plot and a close up See Other views for scaling and splitting the graph on page 2 1
223. xel that was turned off is turned on any pixel that was turned on is turned off TLINE can be used to erase a line LINE xl yl x2 y2 Example IINE 0707333 Erases previously drawn 45 degree line from 0 0 to 3 3 or draws that line if it doesn t already exist Graphic commands The Graphic commands use the graphics variables GO through G9 or the Page variable from Sketch as graphicname arguments The position argument takes the form x y Position coordinates depend on the current aplet s scale which is specified by Xmin Xmax Ymin and Ymax The upper left corner of the target graphic graphic2 is at Xmin Ymax You can capture the current display and store it in GO by simultaneously pressing PLOT DISPLAY Stores the current display in graphicname DISPLAY graphicname DISPLAY Displays graphic from graphicname in the display DISPLAY graphicname 15 20 Programming GROB GROBNOT GROBOR GROBXOR MAKEGROB PLOT gt Example PLOT 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 40G creates a graphic display like that created by the SHOW operation GROB graphicname expression fontsize Replaces graphic in graphicname with bitwise inverted graphic GROBNOT graphicname Using the logical OR superimposes graphicname 2 onto graph
224. xes 2 12 box 2 8 center 2 8 examples of 2 11 factors 2 13 in 2 9 2 10 options 2 8 3 7 options within a table 2 18 out 2 9 2 10 redrawing table of numbers options 2 18 square 2 9 2 10 un zoom 2 11 within Numeric view 2 18 X zoom 2 9 2 10 Y zoom 2 9 2 10 Index I 13
225. y Faran FUNCTION 2 ZEN UNCTION TEAs S1 5 K 5 43 SCG S1 34X2 x WSERTSE CHS 3 OK CKD la S K S4CK S 378K CRI La IRA ZECA SS GR CRI Lia S K 34CK 37328K CKD Law C5 5194 54051 3 3 5 51 3 91 3 3 a es ee ee EE HP 39G Thus substituting X for S1 it can be seen that 3 x 3x Sax 5x 3 po X 5 x This result derives from substituting X S 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 4 ye 22D To see this consider fe 2 dx na Using mathematical functions 10 25 The extra constant of 6 4 fhe FARADI results from the substitution f6 drn Ointo 25 RAER R and should be disregardedif ___ tS1i 2 5 5 6 4 an indefinite integral is N required 10 26 Using mathematical functions 11 Variables and memory management Introduction The HP 39G 40G has approximately 232K of user memory The calculator uses this memory to store variables perform computation and store history A variable is an object that you create in memory to hold data The HP 39G 40G has two types of variables home variables and aplet variables e Home variables are available in all aplets For example you can store real numbers in variables A to Z and complex numbers in variables Z0 to Z9 These can be numbers you have entered or the results of calculations These variables are availabl
226. y shown as Prob on the MATH menu contains functions for working with probability To use a math function you enter the function onto the command line and include the arguments in parentheses after the function You can also select a math function from the MATH menu The MATH menu The MATH menu provides access to math functions and programming constants The MATH menu is organized by category For each category of functions on the left there is a list of function names on the right The highlighted category is the current category z MATH FUNCTIONS CEILING DEG RAD Symbolic FLOOR Tests 7IFHROOT j MTHacONS __ taNcL Ok _ e When you press MATH you see the menu list of Math functions The menu key indicates that the MATH FUNCTIONS menu list is active Using mathematical functions 10 1 To select a function Function categories Press to display the MATH menu The categories appear in alphabetical order Press Y or 4 to scroll through the categories To skip directly to a category press the first letter of the category s name Note You do not need to press first The list of functions on the right applies to the currently highlighted category on the left Use gt and 4 to switch between the category list and the function list Highlight the name of the function you want and press H3 This copies the function name and an initial parenthesis if appropriate to the ed
227. you save the aplet or send it to another calculator the notes and sketches are saved or sent as well The Notepad is a collection of notes independent of all aplets These notes can also be sent to another calculator via the Notepad Catalog Aplet note view You can attach text to an aplet in its Note view To write a note in Note view 1 In an aplet press SHIFT NOTE for the Note view 2 Use the note editing keys shown in the table in the following section Set Alpha lock GE for quick entry of letters For lowercase Alpha lock press SHIFT E5 While Alpha lock is on To type a single letter of the opposite case press letter To type a single non alpha character such as 5 or press ALPHA first This turns off Alpha lock for one character Your work is automatically saved Press any view key NUM SYMB PLOT VIEWS or HOME to exit the Notes view Notes and sketches 14 1 Note edit keys Key Meaning SPACE Space key for text entry FAGEN Displays next page of a multi page note ti Alpha lock for letter entry SHIFT EE Lower case Alpha lock EEF Backspaces cursor and deletes P character DEL Deletes current character ENTER Starts a new line SHIFT CLEAR Erases the entire note VARS Menu for entering variable names and contents of variables MATH Menu for entering math operations and constants
228. ys are enclosed in See Chapter 12 Matrices Notepad Notes short text entries See SHIFT NOTEPAD Chapter 14 Notes and sketches Program Programs that you create or SHIFT PROGRAM associated with user defined aplets See Chapter 15 Programming 1 28 Getting started Differences between the HP 38G and the HP 39G 40G CAS Memory manager Plot Goto function Statistics Pred function Inference aplet Trig Explorer and Quadratic Explorer aplets The HP 40G is packaged with a computer algebra system CAS Refer to the CAS Manual for further information The HP 39G 40G incorporates a memory manager that you can use to see how much memory the objects that you have created or loaded are occupying See Memory Manager on page 11 9 for more information In Plot view you can use the menu key to jump to a value on the plot instead of having to trace the plot to locate values See Exploring the graph on page 2 7 for more information When you choose the EE option in the Statistics aplet s Plot view screen it is now possible to along the regression curve Once a data set and regression curve is displayed pressing the up and down arrows will move between the data and the curve of regression When the regression curve is selected the values displayed in the Plot view status line are the PREDY values On the HP 38G the Trace function would select k

Download Pdf Manuals

image

Related Search

Related Contents

Estruturas para redes de distribuição aérea urbanas e rurais  Massive Table lamp 12923/01/53    Agilent Feature Extractor Plug  取扱説明書を必ずご参照下さい 【禁忌・禁止】 【形状・構造及び  ES1262 Installation and Operation Manual    SMC Networks SMC2209USB/ETH User's Manual  Form-Questionário GACM-SistemasPA  Philips Ledino Wall light 16380/47/16  

Copyright © All rights reserved.
Failed to retrieve file