Hp 49g Graphing Calculator Bedienungsanleitung Seite 195

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 242
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 194
1. On the command line, position the cursor immediately to the right of
the opening « symbol.
2. Press ©0 to insert the —> symbol.
3. Enter a local variable name for each input argmnent your program
uses, separating each with a @.
For example, if your program uses two arguments, and you want to set the
value of these arguments to local variables A and B, the beginning of your
program would appear as follows:
Setting local variables to hold input arguments
« ^ A B
Setting a local variable to a value
After the value, press 00 to insert the a symbol, and enter the local
variable name.
For example, to set local variable G to hold 9.81, the acceleration of
gravity, you create the variable as follows:
©@9.8100(H)G
« 9.81 ^ G »
The following example:
accepts an input argument
creates the local variable G
multiplies it by the argument, and places the result on the history.
« ^ A
« 9.81 G
« A*G »
»
In the following example, the A*G calculation does not recognize the
local variable G as 9.81, as it is outside the nested procedure where the
variable was declared. The A+G calculation recognizes G as 9.81
« -A A
« 9.81 -A G 'A+G' »
A*G
»
Introduction to programming Page 10-9
Seitenansicht 194
1 2 ... 190 191 192 193 194 195 196 197 198 199 200 ... 241 242

Kommentare zu diesen Handbüchern

Keine Kommentare