
Page 9-8
More complicated
expressions involving elements
of A can also be written.
For example, using the Equation Writer (
‚O
), we can write the following
summation of the elements of A:
Highlighting the entire expression and using the
@EVAL@
soft menu key, we get
the result:
-15
.
Note:
The vector A can also be referred to as an
indexed variable
because
the name A represents not one, but many values identified by a sub-index.
To replace an element in an array use function PUT (you can find it in the
function catalog
‚N
, or in the PRG/LIST/ELEMENTS sub-menu – the later
was introduced in Chapter 8). In ALG mode, you need to use function PUT
with the following arguments: PUT(
array, location to be replaced, new value
).
For example, to change the contents of A(3) to 4.5, use:
In RPN mode, you can
change the value of an element
of A, by storing a new
value in that particular element. For example, if we want to change the
contents of A(3) to read 4.5 instead of its current value of –3., use:
4.5`³~a„Ü3`K
To verify that the change took place use:
‚
@@@@A@@
. The result now shown is:
[-1 -2 4.5 -4 -5 ].
Содержание 48GII
Страница 1: ...hp 48gII graphing calculator user s guide H Edition 4 HP part number F2226 90020 ...
Страница 162: ...Page 3 37 Define this function by any of the means presented above and check that g 3 3 g 1 0 g 1 0 g 3 9 ...
Страница 201: ...Page 5 30 LIN LNCOLLECT POWEREXPAND SIMPLIFY ...
Страница 381: ...Page 11 55 Function KER Function MKISOM ...
Страница 461: ...Page 13 26 In the right hand side figure above we are using the line editor to see the series expansion in detail ...
Страница 777: ...Page 26 8 ...
Страница 840: ...Page L 5 ...