π
<-
Chat plein-écran
[^]

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

Message non lude globrother » 21 Avr 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!
Avatar de l’utilisateur
globrother
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 16%
 
Messages: 3
Inscription: 10 Fév 2017, 16:13
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

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

Message non lude thed » 17 Juin 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.
Avatar de l’utilisateur
thed
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Prochain niv.: 0%
 
Messages: 12
Inscription: 17 Juin 2017, 07:24
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile


Retourner vers Programmation

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 6 invités

-
Rechercher
-
Social TI-Planet
-
Sujets à la une
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
Phi NumWorks jailbreak
123
-
Faire un don / Premium
Pour plus de concours, de lots, de tests, nous aider à payer le serveur et les domaines...
Faire un don
Découvrez les avantages d'un compte donateur !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partenaires et pub
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
948 utilisateurs:
>934 invités
>10 membres
>4 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Autres sites intéressants
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)
cron