MathGroup Archive 2002

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

Search the Archive

Re: Parameters

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33123] Re: [mg33117] Parameters
  • From: BobHanlon at aol.com
  • Date: Mon, 4 Mar 2002 06:03:58 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

In a message dated 3/3/02 5:43:22 PM, 
Sven.Richter at Xterminator.studfb.unibw-muenchen.de writes:

>I've got the following problem:
>I have a function that depends on 4 parameters, f(a, b, c, d), whereby
>a+b+c+d=1.
>Now, I would like that Mathematica gives me table with values for the
>parameters and of course the corresponding f(a,b,c,d). Furthermore, I would
>like to set the step range of the parameters.
>The goal is to have a table like:
>
>    a        b        c        d        f(a,b,c,d)
>    0.1    0.1    0.1      0.7        0.1324
>    0.1    0.1    0.2      0.6        0.2143
>

minVal =0.1; step=0.2;
Table[{a,b,c,d=1-a-b-c,f[a,b,c,d]},
  {a,minVal,1-3minVal,step},
  {b,minVal,1-2minVal-a,step},
  {c,minVal,1-minVal-a-b,step}]


Bob Hanlon
Chantilly, VA  USA


  • Prev by Date: Partial differential equations
  • Next by Date: Re: Parameters
  • Previous by thread: Parameters
  • Next by thread: Re: Parameters