MathGroup Archive 2003

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

Search the Archive

Re: nonlinear equation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg40795] Re: nonlinear equation
  • From: Raibatak Das <rd54 at cornell.edu>
  • Date: Thu, 17 Apr 2003 23:17:11 -0400 (EDT)
  • References: <b7irg5$juo$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

pf -

here is an example for some arbitrary values of a, b and x

In[1]:= a=5
Out[1]= 5
 
In[2]:= b=10
Out[2]= 10
 
In[3]:= x=1
Out[3]= 1
 
In[4]:= NSolve[x == a y Log[b] - a y Log[y] + a y, y]
InverseFunction::ifun:
   Inverse functions are being used. Values may be lost for multivalued
    inverses.
 
InverseFunction::ifun:
   Inverse functions are being used. Values may be lost for multivalued
    inverses.
 
Solve::ifun: Inverse functions are being used by Solve, so some 
solutions may
     not be found.
 
Out[4]= {{y -> 0.0292658}, {y -> 26.9821}}

hope this helps.
- rd
pflores at dem.uminho.pt wrote:

>Hello, 
>
>Can you help me how to solve a nonlinear equation given by: 
>
>x = a*y*ln(b) - a*y*ln(y) + a*y 
>
>where a and b are constant parameters. 
>I know the inital value of x0 and I want to know the value of y. 
>
>Can I use Newton's method? How? 
>
>Regards,
>PF
>  
>

------------------------------------------------------------------------
* /Raibatak Das / *
Department of Chemistry and Chemical Biology, Cornell University.
Ithaca, NY 14853.
Ph : 1-607-255-6141
email : rd54 at cornell.edu <mailto:rd54 at cornell.edu>



  • Prev by Date: Re: Plot backwards
  • Next by Date: NMinimize
  • Previous by thread: Re: nonlinear equation
  • Next by thread: Plot backwards