MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Problem NSolve

  • To: mathgroup at
  • Subject: [mg90658] Re: Problem NSolve
  • From: Jens-Peer Kuska <kuska at>
  • Date: Fri, 18 Jul 2008 04:01:21 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <g5n45f$sb8$>
  • Reply-to: kuska at


"=" is Set[] and "==" is Equal[] you need *only* Equal[]
and never never *NEVER* Set[] in the definitions of
the equations, i.e.


Jorge 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

  • Prev by Date: Re: Wacky Font Substitution in .eps Export
  • Next by Date: Re: Problem NSolve
  • Previous by thread: Re: Problem NSolve
  • Next by thread: Re: Problem NSolve