Hp 49g Graphing Calculator Manuel d'utilisateur Page 196

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 242
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 195
The following program segment demonstrates how to set a local variable
to the result of a calculation, and to use the result in a subsequent
calculation. The program accepts two input arguments and uses these in
the calculations.
1. On the command line, insert the program delimiters and specify the
local variables to hold the input arguments.
Setting a local variable to the result oF a calculation
« ^ A B
2. Start a new nested procedure and define the initial calculation.
« ^ A B
« A+B
»
»
3. Store the results of the calculation to local variable C.
« ^ A B
« A+B -A C
4. Open a new nested procedure and enter a calculation that uses the
result of the initial calculation.
0©(I®C©®0®(I®A0(lPi)B
0000
« ^ A B
« A+B -A C
« C+0 (A-B)
Page 10-10
Introduction to programming
Vue de la page 195
1 2 ... 191 192 193 194 195 196 197 198 199 200 201 ... 241 242

Commentaires sur ces manuels

Pas de commentaire