MathGroup Archive 2002

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

Search the Archive

Re: FindMinimun Function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg38393] Re: FindMinimun Function
  • From: bghiggins at ucdavis.edu (Brian Higgins)
  • Date: Fri, 13 Dec 2002 04:10:36 -0500 (EST)
  • References: <at9egk$q7r$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Carlos , Have you tried to use NonlinearFit? Here is a simple example:
 
<< Statistics`NonlinearFit`

g[x_]:= 1- ( 1-x)^1/3
p[x_]:= 1- 3(1-x)^2/3 +2(1-x)

Generate some data with C1=2, C2=3

data = Table[{x, 2 g[x] + 3p[x]}, {x, 0, 1, .1}];

NonlinearFit[data, c1 g[x] + c2 p[x], {x}, {c1, c2}]

3.*(1 + 2*(1 - x) - (1 - x)^2) +  2.*(1 + (-1 + x)/3)

Cheers,

Brian





Carlos Espitia <emup98 at yahoo.com> wrote in message news:<at9egk$q7r$1 at smc.vnet.net>...
> Gentlemen;
> We are a  research group on mineral processing of
> INGEOMINAS; which is a geological institute here in
> Colombia and are interested in knowing if could use
> this software to solve kinetics expression like the
> following:
> 
> t= C1g(X)+C2p(X)
> 
> Where  
> g(x) = 1- ( 1-X)^1/3  and p(X) = 1- 3(1-X)^2/3 +2(
> 1-X); t=time(min); X = extent of reaction % ;
> 
> According with bibliography ,through the method of
> Nedler and Mead (Flexible Polyhedron search method)C1
> and C2 can be obtained from minimization of the
> function.
> 
> We would greateful if you could give us an orientation
> to solve our experimental problem. I would ask you an
> special collaboration to develop one example with the
> correct syntax using the experimental results sent in
> the attachment file.  [contact the author to obtain
> this file).  Thanks a lot for your
> collaboration and orientation.
> 
> Carlos Espitia
> Georecursos Area
> INGEOMINAS Diagonal 53 # 34 ? 53
> Bogota ? Colombia 
> Fax 57-1-2223515


  • Prev by Date: Re: PlusMinus Operator Question
  • Next by Date: Re: PlusMinus Operator Question
  • Previous by thread: FindMinimun Function
  • Next by thread: Pure recursive functions