π
<-

Loi normale et TI89 (algorithme) ?

Programmation et implémentation d'algorithmes.

Re: Loi normale et TI89 (algorithme) ?

Unread postby muslima-93 » 09 May 2013, 21:51

moi en tapant invnorm(0.7) j'ai trouvé -0.524401
User avatar
muslima-93
Niveau 6: SM (Super Membre)
Niveau 6: SM (Super Membre)
Level up: 14.3%
 
Posts: 40
Joined: 09 May 2013, 13:28
Gender: Female
Calculator(s):
MyCalcs profile
Class: TS

Re: Loi normale et TI89 (algorithme) ?

Unread postby floflolerigolo » 09 May 2013, 21:56

Non bien sur, j'ai compris le principe, j'ai fais plusieurs test,
pour les conditions initiales pas de problèmes, (a<0,a>1,a=0.5) le problème se situe donc bien dans l'expression:
Image
User avatar
floflolerigolo
Niveau 7: EP (Espèce Protégée: geek)
Niveau 7: EP (Espèce Protégée: geek)
Level up: 43.8%
 
Posts: 25
Joined: 09 May 2013, 14:35
Gender: Not specified
Calculator(s):
MyCalcs profile
Class: TS

Re: Loi normale et TI89 (algorithme) ?

Unread postby Bisam » 09 May 2013, 21:59

Logique...
Pour 0, il devrait répondre -oo et pour 1, il devrait répondre +oo
Il faut donc rajouter des cas particuliers pour ces 2 là.
Voici le code modifié :
Code: Select all
invnorm(a)
Func
If a<0 or a>1
Return "Erreur : l'argument doit être compris entre 0 et 1"
If a=0.5
Return 0
If a=0
Return -oo
If a=1
Return oo
sign(a-0.5)*exp>list(solve(1/sqrt(2*pi)*int(e^(-x^2/2),x,0,t)=abs(a-0.5),t),t)[1]
EndFunc


Rappel : Il faut bien sûr remplacer le "sqrt" par la fonction racine carrée, le "int" par la fonction "intégrale" et le "exp>list" en utilisant la fonction trouvée dans le catalogue.
User avatar
BisamAdmin
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Level up: 69.6%
 
Posts: 5670
Joined: 11 Mar 2008, 00:00
Location: Lyon
Gender: Male
Calculator(s):
MyCalcs profile

Re: Loi normale et TI89 (algorithme) ?

Unread postby floflolerigolo » 09 May 2013, 22:05

Bisam wrote:Logique...
Pour 0, il devrait répondre -oo et pour 1, il devrait répondre +oo
Il faut donc rajouter des cas particuliers pour ces 2 là.
Voici le code modifié :
Code: Select all
invnorm(a)
Func
If a<0 or a>1
Return "Erreur : l'argument doit être compris entre 0 et 1"
If a=0.5
Return 0
If a=0
Return -oo
If a=1
Return oo
sign(a-0.5)*exp>list(solve(1/sqrt(2*pi)*int(e^(-x^2/2),x,0,t)=abs(a-0.5),t),t)[1]
EndFunc

je vais les rajouter mais j'ai toujours le problème pour les valeurs comme 0.7 il me met cela:
Image
User avatar
floflolerigolo
Niveau 7: EP (Espèce Protégée: geek)
Niveau 7: EP (Espèce Protégée: geek)
Level up: 43.8%
 
Posts: 25
Joined: 09 May 2013, 14:35
Gender: Not specified
Calculator(s):
MyCalcs profile
Class: TS

Re: Loi normale et TI89 (algorithme) ?

Unread postby Bisam » 09 May 2013, 22:11

Je n'ai plus d'idée pour l'instant... mais viens discuter sur le chat, je pourrai peut-être continuer à t'aider en direct.
User avatar
BisamAdmin
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Level up: 69.6%
 
Posts: 5670
Joined: 11 Mar 2008, 00:00
Location: Lyon
Gender: Male
Calculator(s):
MyCalcs profile

Re: Loi normale et TI89 (algorithme) ?

Unread postby muslima-93 » 09 May 2013, 22:15

Moi j'ai testé invnorm(0.7)= 0.524401
invnorm(1)=+infinie
invnorm(0)=-infinie
User avatar
muslima-93
Niveau 6: SM (Super Membre)
Niveau 6: SM (Super Membre)
Level up: 14.3%
 
Posts: 40
Joined: 09 May 2013, 13:28
Gender: Female
Calculator(s):
MyCalcs profile
Class: TS

Re: Loi normale et TI89 (algorithme) ?

Unread postby floflolerigolo » 09 May 2013, 22:19

Hermione geektte peux tu m'aider ? :S ?
User avatar
floflolerigolo
Niveau 7: EP (Espèce Protégée: geek)
Niveau 7: EP (Espèce Protégée: geek)
Level up: 43.8%
 
Posts: 25
Joined: 09 May 2013, 14:35
Gender: Not specified
Calculator(s):
MyCalcs profile
Class: TS

Re: Loi normale et TI89 (algorithme) ?

Unread postby muslima-93 » 09 May 2013, 22:20

Comment fait-on pour calculer avec la calculatrice:

-P(X>0,22)
-1 moins P(X<=b)= 0,2347
User avatar
muslima-93
Niveau 6: SM (Super Membre)
Niveau 6: SM (Super Membre)
Level up: 14.3%
 
Posts: 40
Joined: 09 May 2013, 13:28
Gender: Female
Calculator(s):
MyCalcs profile
Class: TS

Re: Loi normale et TI89 (algorithme) ?

Unread postby floflolerigolo » 09 May 2013, 22:27

as tu ta calculette en fr ou en anglais ?
User avatar
floflolerigolo
Niveau 7: EP (Espèce Protégée: geek)
Niveau 7: EP (Espèce Protégée: geek)
Level up: 43.8%
 
Posts: 25
Joined: 09 May 2013, 14:35
Gender: Not specified
Calculator(s):
MyCalcs profile
Class: TS

Re: Loi normale et TI89 (algorithme) ?

Unread postby muslima-93 » 09 May 2013, 22:28

cac1.jpg
cac2.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
muslima-93
Niveau 6: SM (Super Membre)
Niveau 6: SM (Super Membre)
Level up: 14.3%
 
Posts: 40
Joined: 09 May 2013, 13:28
Gender: Female
Calculator(s):
MyCalcs profile
Class: TS

PreviousNext

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.
2594 utilisateurs:
>2571 invités
>16 membres
>7 robots
Record simultané (sur 6 mois):
29271 utilisateurs (le 11/07/2025)
-
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)