HP 50g HP 50g_user's manual_English_HDPSG49AEM8.pdf - Page 104
The SEQ function, The MAP function, Reference
UPC - 882780502291
View all HP 50g manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 104 highlights
The SEQ function The SEQ function, available through the command catalog (,N), takes as arguments an expression in terms of an index, the name of the index, and starting, ending, and increment values for the index, and returns a list consisting of the evaluation of the expression for all possible values of the index. The general form of the function is SEQ(expression, index, start, end, increment) For example: The list produced corresponds to the values {12, 22, 32, 42}. The MAP function The MAP function, available through the command catalog (,N), takes as arguments a list of numbers and a function f(X), and produces a list consisting of the application of that function to the list of numbers. For example, the following call to function MAP applies the function SIN(X) to the list {1,2,3}: In ALG mode, the syntax is: ~~map~!Ü!ä1@í2@í3™ @íS~X` In RPN mode, the syntax is: !ä1@í2@í3`³S~X`~ ~map` In both cases, you can either type out the MAP command (as in the examples above) or select the command from the CAT menu. Reference For additional references, examples, and applications of lists see Chapter 8 in the calculator's user's guide. Page 7-7