
Page 3-36
(associated with the
Y
key). To define this function in ALG mode use the
command: DEF(f(x) = IFTE(x>0, x^2-1, 2*x-1))
then, press
`
. In RPN mode, type the function definition between
apostrophes:
‘f(x) = IFTE(x>0, x^2-1, 2*x-1)’
then press
„à
.
Press
J
to recover your variable menu. The function
@@@f@@@
should be
available in your soft key menu. Press
‚
@@@f@@@
to see the resulting program:
<<
x ‘IFTE(x>0, x^2-1, 2*x-1)’ >>
To evaluate the function in ALG mode, type the function name, f, followed by
the number at which you want to evaluate the function, e.g., f(2), then press
`
. In RPN mode, enter a number and press
@@@f@@@
. Check, for example,
that
f(2) = 3
, while
f(-2) = -5
.
Combined IFTE functions
To program a more complicated function such as
≥
<
≤
−
<
≤
−
+
−
<
−
=
2
,
2
0
,
1
0
2
,
1
2
,
)
(
2
x
x
x
x
x
x
x
x
x
g
you can combine several levels of the IFTE function, i.e.,
‘g(x) = IFTE(x<-2, -x, IFTE(x<0, x+1, IFTE(x<2, x-1, x^2)))’
,
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.
Содержание 49g+
Страница 1: ...hp 49g graphing calculator user s guide H Edition 4 HP part number F2228 90006 ...
Страница 197: ...Page 5 30 LIN LNCOLLECT POWEREXPAND SIMPLIFY ...
Страница 377: ...Page 11 55 Function KER Function MKISOM ...
Страница 457: ...Page 13 26 In the right hand side figure above we are using the line editor to see the series expansion in detail ...
Страница 775: ...Page 26 10 the location of the backup battery in the top compartment at the back of the calculator ...
Страница 838: ...Page L 5 ...