π
<-
Chat plein-écran
[^]

Release of FormulaPro v1

Programme équivalent à EEPro des TI-89, mais sur TI-Nspire, en Lua.

Re: Release of FormulaPro v1

Message non lude slarty bartfast » 04 Fév 2016, 18:46

Hi,

I'm wondering if there is a version for OS 4?

Thanks :D
Avatar de l’utilisateur
slarty bartfast
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Prochain niv.: 0%
 
Messages: 1
Inscription: 04 Fév 2016, 18:41
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: Release of FormulaPro v1

Message non lude Adriweb » 04 Fév 2016, 19:15

It should work as-is on OS 4 - have you encountered any specific issues?

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
My calculator programs
Mes programmes pour calculatrices
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 78.4%
 
Messages: 14675
Images: 1118
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: Release of FormulaPro v1

Message non lude awinterstale33 » 05 Fév 2016, 22:08

Adriweb a écrit:Hi,

awinterstale33 a écrit:Enter in a variable for a value instead of a number.

Possible, yes, however we had taken extra steps (deleting all variables when solving) not to allow it "trivially". Because it's using solve() to do the calculations, user variables may interfere and it would be bad to have some value already there as a value for the solved variable, for instance... But if you know what you are doing and you are sure it won't interfere with the solving, you can simply declare your variable (with a prefix, maybe ? Like "my_theta" instead of "theta" if you wanted that) and use Lock my_theta. That way, FormulaPro won't delete it before solving and you will be able to use it as a variable/value.

awinterstale33 a écrit:Enter a global function for a value

That works the same way. Declare it and Lock it.

I've tested that successfully as well :)
Note that when you press enter it will evaluate the expression/function so you'll see the result directly, it won't keep the original input.


Hi Adriweb, I haven't been able to replicate this. Could you give me a little more direction? I don't have much experience coding with Lua but only Java and Vba a little for school. Do I declare the variables in the LUA editor or on the calc?
Avatar de l’utilisateur
awinterstale33
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Prochain niv.: 0%
 
Messages: 6
Inscription: 11 Nov 2015, 21:33
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: Release of FormulaPro v1

Message non lude Adriweb » 05 Fév 2016, 23:20

The variables have to be declared (/initialized) and Locked from the calculator app, not from Lua.

So, you go into a calculator tab (insert one (Ctrl-I) after the FormulaPro one, for instance), and do : i:=42 then Lock i.
Now FormulaPro will not modify it and will be taken into account in calculations when you use it as a value.

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
My calculator programs
Mes programmes pour calculatrices
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 78.4%
 
Messages: 14675
Images: 1118
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: Release of FormulaPro v1

Message non lude awinterstale33 » 06 Fév 2016, 00:13

Awesome! Thanks! I'm going to try it right now...

I tested this with the ohm's Law page.
If I declare i:=is and lock it, and enter in "i" or "is" into the current field, it says invalid input. I was hoping for the other fields to be updated with the calculated value, except with my variable for i instead of a numerical value.
However, when I copy and paste the formula back into the calculator page and hit enter, all the variables are replaced with the numerical values except i is replaced with is. So it works if I copy and paste it, how I was hoping. Am I doing it wrong still or it that the only way it will work? (Which is still awesome btw.)
Avatar de l’utilisateur
awinterstale33
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Prochain niv.: 0%
 
Messages: 6
Inscription: 11 Nov 2015, 21:33
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Précédente

Retourner vers FormulaPro Nspire (EEPro)

Qui est en ligne

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

-
Rechercher
-
Social TI-Planet
-
Sujets à la une
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.
Reprise de ton ancienne fx-92 Collège ou Graph 25/35/90 à 3€ peu importe son état. Même non fonctionnelle et donc invendable, même ancienne Graph 35 non conforme aux programmes (pas de Python), même ancienne Graph 25/35 inutilisable aux examens (pas de mode examen) et donc invendable. Etiquette de retour fournie, pas de frais de port à payer.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
12345
-
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.
1073 utilisateurs:
>1064 invités
>5 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)