Real Menu - HP -28S Quick Reference

Hide thumbs Also See for HP-28S:
Table of Contents

Advertisement

returns the modified list {1 X 3}
'Nam' 2 'X' PUT puts the element X into the list named Nam at
position idx and returns nothing.
List indices count from 1 and must be within range.
Note that this is an overwrite operation, not an insert!
GET
Inverse operation of PUT:
{A B C} 2 GET pushes the element B at position 2 onto the stack.
B is not evaluated but rather returned as the name 'B'.
PUTI
Put an element into a list at the given position and increase the position
index. Similar to PUTI for matrices.
Example: {1 2 3} 1 'X' PUTI puts the element X into the list at position
1 and returns the modified list (or its name) in level 2 and 2 (the new index)
in level 1: {X 2 3} 2.
This greatly simplyfies the input or modification of a list.
The index automatically wraps around.
GETI
Inverse operation of PUTI.
Example: {1 2 3} 3 GETI returns the list (or its name) on stack level 3, 1
(the incremented and wrapped index) on stack level 2 and the retrieved
element on stack level 1.
The index automatically wraps around.
POS
Searches for an element within a list.
Example: {1 (2,3) 5 "A"} 5 POS returns 3 because the real number 5
can be found at position 3.
SUB
Return a sub-list from a given start index up to a given end index.
Example: {1 (2,3) 5 "A" 'Q'} 2 3 SUB returns {(2,3) 5}.
The start and end index cannot be specified in a list.
SIZE
Returns the size (number of elements) of the list.
A list within a list counts as one list element.
General
• Note that various REAL functions are directly accessible on they keyboard.
See Direct-Key Commands.
• Real numbers are entered without special delimiter: 3.5721E10
NEG
Negates object. This can be a real or complex number or a real or complex
matrix or vector.
FACT
Calculates n! for integer n or Γ(x+1) for fractional x.
Works for non-integer negative numbers but does not work for complex
numbers. Use the following program IFAC to find Γ
<<→ x <<'FACT(Y)-x' 'Y' 5 ROOT>> >> 'IFAC' STO
You can verify that Γ(120.56417111)=1E200
RAND
Return the next random number in the range 0 ≤ x < 1.
RDZ
Takes a real number as the initializer for the random number generator.
When 0 is specified the elapsed time since power-on is used.
MAXR
Largest positive real number: 9.99999999999E499
MINR
Smallest positive real number: 1.00000000000E-499
ABS
Absolute value of a real or complex number or a real or complex matrix or
vector. See also COMPLX Menu and ARRAY Menu.
HP-28S

REAL Menu

14
-1
(x+1):

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents