Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: NonlinearRegress of user functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg91534] Re: NonlinearRegress of user functions
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Mon, 25 Aug 2008 06:57:04 -0400 (EDT)
  • Organization: The Open University, Milton Keynes, UK
  • References: <g8tsnu$nte$1@smc.vnet.net>

Ngoc Anh Lai wrote:

> I have experimental data set of (Texp, pexp, rhoexp). With each value of
> Texp, I will calculate pcal and rhocal by using functions pcal = psT[T,
> A, B, C, D, E]  and rhocal = rhoT[T, A, B, C, D, E]. Parameters A, B, C,
> D, E of the functions psT and rhoT will be found by Minimization of 

<snip>

FWIW, though I cannot tell for sure whether this is the source of your 
problems, note that, in general, it is a very bad idea to use single 
capital letters as names of variables because many of them have already 
been attributed some predefined meanings (every Mathematica built-in 
command begins with a capital letter). For instance, D is the 
differential operator, E is the base for natural logarithms. You should 
use longer names and/or start them with lowercase letters.

Regards,
-- Jean-Marc


  • Prev by Date: Re: Eliminating intermediate results
  • Next by Date: Re: Re: Multifile search
  • Previous by thread: NonlinearRegress of user functions
  • Next by thread: Re: Re: NonlinearRegress of user functions