Plotting programs and user-defined functions, Plotting programs, User-defined functions – HP 48g Graphing Calculator User Manual
Page 340
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".
3. Press (4^(PL0T) P P H R (NXT
1
flXES to store the intersection
point.
4. Press fr^fPLOT) E R R S E D R A W to redraw the plot using the new
axes intersection point.
Plotting Programs
and
User-Defined Functions
You can plot more than just expressions and equations—you can also
plot programs. And your expressions, equations, and programs can
include user-defined functions.
You can plot a program if it takes nothing from the stack, uses
the independent variable in the program, and returns exactly one
untagged number to the stack:
■ Real result. Equivalent to the expressions f{x) (plot type Function)
and r{6) (plot type Polar). For example, the program
plots
THEM
/W =
.SE
- 45*2 -p 350 if * < 0
1000
if * > 0
Store the program in EQ, select autoscaling, and draw the plot.
Complex result. Equivalent to (x(t),y(t)) (plot type Parametric).
For example, the program
■ «
-s-HUM ' t'''''3“2-st +
plots the parametric equations
X = E
and
y = E -2t +I
Store the program in EQ, make ' T' the independent variable, select
autoscaling, and draw the plot.
24-2 Advanced Plot Options