Hp 39g Graphing Calculator Manual do Utilizador Página 209

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 292
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 208
15
Programming
Introduction
HINT
The Contents of a
Program
Structured
Programming
Example
This chapter describes how to program using the HP 39G/
40G. In this chapter you’ll learn about:
using the Program catalog to create and edit programs
programming commands
storing and retrieving variables in programs
programming variables.
More infonnation on programming, including examples and
special tools, can be found at HP’s calculators web site:
www.hp.com/calculators
An HP 39G/40G program contains a sequence of numbers,
mathematical expressions, and commands that execute
automatically to perform a task.
These items are separated by a colon (:). Commands that take
multiple arguments have those arguments separated by a
semicolon ( ;). For example,
PIXON xposition \yposition:
Inside a program you can use branching structures to control
the execution flow. You can take advantage of structured
programming by creating building-block programs. Each
building-block program stands alone—and it can be called
from other programs. Note: If a program has a space in its
name then you have to put quotes around it when you want to
run it.
RUN GETVALUE:
"SHOW ANSWER"
RUN CALCULATE: RUN
This program is separated into three main tasks, each an
individual program. Within each program, the task can be
simple—or it can be divided further into other programs that
perform smaller tasks.
Programming
15-1
Vista de página 208
1 2 ... 204 205 206 207 208 209 210 211 212 213 214 ... 291 292

Comentários a estes Manuais

Sem comentários