Graph
Modérateur: Mike
3 messages
• Page 1 sur 1
Graph
salut à tous
Pourriez vous m'aider je début sur une casio graph 30
Je voudrais a la fin d'un programme que le resultat s'affiche sur une graph, je ne sais pas comment faire
voici la fonction a programmer
(((1+(y/100))^n)x X
Une fois les variables (y, n, X) définit par l'utilisateur j'ai un résultat numérique qui correspond à une courbe mais c l'a que j'ai besoin de vous
Comment apres les resultat numérique proposer et tracer cette courbe sur un graph
Thanks
Pourriez vous m'aider je début sur une casio graph 30
Je voudrais a la fin d'un programme que le resultat s'affiche sur une graph, je ne sais pas comment faire
voici la fonction a programmer
(((1+(y/100))^n)x X
Une fois les variables (y, n, X) définit par l'utilisateur j'ai un résultat numérique qui correspond à une courbe mais c l'a que j'ai besoin de vous
Comment apres les resultat numérique proposer et tracer cette courbe sur un graph
Thanks
- MatosBKO
- Messages: 5
- Inscription: 19 Juillet 2008 23:26
Re: Graph
.... //the beginning of your program
"(((1+(y/100))^n)x X"->Y1
"TRACER LA COURBE"?-A
If A
Then DrawGraph
IfEnd
anyway it's better to write :
Xx(y/100+1)^n, more readable than your thing that has a "syntax error" (not really but you put 1 "(" too much).
.... //the beginning of your program
"X(Y/100+1)^n"->Y1
"TRACER LA COURBE"?-A
If A
Then DrawGraph
IfEnd
a mini full program :
ClrText
"Y="?->Y
"N="?->N
"Xx(Y/100+1)^N"->Y1
"DRAW GRAPH"?-A
If A
Then "Xmin"?->X
X->Xmin
Y1->Ymin
"Xmax"?->X
X->Xmax
Y1->Ymax
(Xmax-Xmin)/42->Xscl
(Ymax-Ymin)/21->Yscl
DrawGraph
IfEnd
(edited post to correct inversions between Xmin and MinX
"(((1+(y/100))^n)x X"->Y1
"TRACER LA COURBE"?-A
If A
Then DrawGraph
IfEnd
anyway it's better to write :
Xx(y/100+1)^n, more readable than your thing that has a "syntax error" (not really but you put 1 "(" too much).
.... //the beginning of your program
"X(Y/100+1)^n"->Y1
"TRACER LA COURBE"?-A
If A
Then DrawGraph
IfEnd
a mini full program :
ClrText
"Y="?->Y
"N="?->N
"Xx(Y/100+1)^N"->Y1
"DRAW GRAPH"?-A
If A
Then "Xmin"?->X
X->Xmin
Y1->Ymin
"Xmax"?->X
X->Xmax
Y1->Ymax
(Xmax-Xmin)/42->Xscl
(Ymax-Ymin)/21->Yscl
DrawGraph
IfEnd
(edited post to correct inversions between Xmin and MinX
Dernière édition par Laurae le 22 Juillet 2008 8:27, édité 1 fois.
- Laurae
- Messages: 100
- Inscription: 25 Novembre 2007 18:23
- Localisation: Ozoir-la-Ferrière
3 messages
• Page 1 sur 1
Qui est en ligne
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités