π
<-

...

:32tins: :32tinsktpb: :32tinsktpn: :32tinscas: :32tinstpkc: :32tinstpktpb: :32tinstp: :32tinscastp: :32tinscmc: :32tinscx: :32tinscxcas:

...

Unread postby ciaone » 16 Mar 2018, 13:42

...
Last edited by ciaone on 31 Dec 2018, 09:42, edited 1 time in total.
User avatar
ciaone
Niveau 3: MH (Membre Habitué)
Niveau 3: MH (Membre Habitué)
Level up: 20%
 
Posts: 3
Joined: 16 Mar 2018, 13:38
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: Problem with zeros()

Unread postby Extra44 » 16 Mar 2018, 16:24

i don't find a solution mais made some try to understand and to help ...

string(var) give : "{x,y}"
and expr(string(var)) give : {x,y}
so maybe .... zeros(eq,expr(string(var)))
but ... (in french) we have an error : "Erreur : L’argument doit être un nom de variable."
Not working, it need a variable name ... !

So ... I don't know too.
Maybe there's a function to transform an string to a list of expression ...
Not funny (for you)
Good luck
User avatar
Extra44Premium
Niveau 11: LV (Légende Vivante)
Niveau 11: LV (Légende Vivante)
Level up: 58.4%
 
Posts: 591
Images: 1
Joined: 20 Jan 2011, 00:00
Gender: Male
Calculator(s):
MyCalcs profile
Class: S.I.

Re: Problem with zeros()

Unread postby Hamza.S » 16 Mar 2018, 19:58

Hello!

try expr("zeros("&string(eq)&","&string(var)&")")
Image
User avatar
Hamza.SAdmin
Niveau 17: GM (Grand Maître des calculatrices)
Niveau 17: GM (Grand Maître des calculatrices)
Level up: 29.3%
 
Posts: 4512
Images: 18
Joined: 07 Nov 2014, 00:43
Gender: Male
Calculator(s):
MyCalcs profile

Re: Problem with zeros()

Unread postby Extra44 » 16 Mar 2018, 23:33

Nice ! Good job ! :bj: :bj:
I'm not far away ! :'(
User avatar
Extra44Premium
Niveau 11: LV (Légende Vivante)
Niveau 11: LV (Légende Vivante)
Level up: 58.4%
 
Posts: 591
Images: 1
Joined: 20 Jan 2011, 00:00
Gender: Male
Calculator(s):
MyCalcs profile
Class: S.I.

...

Unread postby ciaone » 17 Mar 2018, 09:29

...
Last edited by ciaone on 31 Dec 2018, 09:42, edited 1 time in total.
User avatar
ciaone
Niveau 3: MH (Membre Habitué)
Niveau 3: MH (Membre Habitué)
Level up: 20%
 
Posts: 3
Joined: 16 Mar 2018, 13:38
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: Problem with zeros()

Unread postby Bisam » 17 Mar 2018, 19:37

I may explain why the calc acts like that.

When typing solve(eq,var), the calc doesn't evaluate "var". It only uses its name and tries to solve the equation for this variable name.
The only way to force evaluation of "var" to {x,y} and then solve is the one given by Hamza.S.

Some other functions act the same way, e.g. the derivative function. First, only the variable name is used and then, when the derivation has been made, the variable value is substituted.
This way, one can compute exact derivative values, even on non CAS Nspire !

Example :
Code: Select all
v:={x,y}
derivative(v^2,v)

will return {2x,2y}
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


Return to Problèmes divers / Aide débutants

Who is online

Users browsing this forum: ClaudeBot [spider] and 19 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.
2663 utilisateurs:
>2637 invités
>20 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)