HP Prime Graphing Wireless Calculator Manual de usuario Pagina 627

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 701
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 626
graphically display the results of the simulation
numerically display the results of the simulation.
With that in mind, we will create the following views:
START, ROLL DICE, SET SIDES, and SET ROLLS.
The START option will initialize the app and display a note that gives the user instructions. The user will also
interact with the app through the Numeric view and the Plot view.
These views will be activated by pressing and , but the function Plot() in our app program
will actually launch the latter view after doing some conguration.
Before entering the following program, press to open the Info editor and enter the text
shown in the gure. This note will be attached to the app and will be displayed when the user selects the Start
option from the View menu (or presses ).
The program discussed earlier in this chapter to get the number of sides for a dice is expanded here, so that
the possible sums of two such die are stored in dataset D1. Enter the following sub-routines into the program
for the DiceSimulation app.
The DiceSimulation program
DICESIMVARS();
ROLLDIE();
EXPORT SIDES,ROLLS;
EXPORT DiceSimulation()
BEGIN
END;
VIEW "Start",START()
BEGIN
D1:={};
The User Keyboard: Customizing key presses 579
Vista de pagina 626
1 2 ... 622 623 624 625 626 627 628 629 630 631 632 ... 700 701

Comentarios a estos manuales

Sin comentarios