π
<-

I can not enter complex value using the INPUT command

Programmation et implémentation d'algorithmes.

I can not enter complex value using the INPUT command

Unread postby globrother » 21 Apr 2017, 04:15

Good evening! I am a beginner and would like to know how to use the input layer and enter a complex value in HP prime.
When I run the program the box to put the values appears, but when I try to put complex values, both polar (preferable) and rectangular forms have invalid data. Could anyone help me about this?
Grateful!
User avatar
globrother
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 16%
 
Posts: 3
Joined: 10 Feb 2017, 16:13
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: I can not enter complex value using the INPUT command

Unread postby thed » 17 Jun 2017, 07:34

INPUT({Z1,5});
5 is for complex numbers

or define Z1 as a complex first : for example : LOCAL Z1:=1+i;
and then INPUT(Z1) will consider the value as a complex number.
User avatar
thed
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Level up: 0%
 
Posts: 12
Joined: 17 Jun 2017, 07:24
Gender: Not specified
Calculator(s):
MyCalcs profile


Return to Programmation

Who is online

Users browsing this forum: ClaudeBot [spider] and 0 guests

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
1234
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1204 utilisateurs:
>1177 invités
>21 membres
>6 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)