Re: Problem NSolve

*To*: mathgroup at smc.vnet.net*Subject*: [mg90656] Re: Problem NSolve*From*: Narasimham <mathma18 at hotmail.com>*Date*: Fri, 18 Jul 2008 04:00:57 -0400 (EDT)*References*: <g5n45f$sb8$1@smc.vnet.net>

On Jul 17, 2:42 pm, Jorge <jorgecerri... at gmail.com> wrote: > Hello! To begin to ask for excuses you for my English poor level... I am a Spanish student of Chemical Engineering. Now I am employed at the simulation of a series of chemical reactions with Mathematica. > > As soon as I have programmed the problem to resolving, 23 equations with 23 variables, I use the function Nsolve, but the program returns to me the following message of mistake > > General::ivar: 0 is not a valid variable. >> > > I have programmed my problem of the following form: > > ecu{lhs1==0,lhs2=0,...,lhs23} > sol=Nsolve[ecu{var1,var2,...,var23}] > > Might someone help? > > Thank you very much! > Jorge Start with 2 equations and 2 variables, gradually increase the number of variables to trap the error.