MathGroup Archive 2009

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

Search the Archive

Re: using constants from table

  • To: mathgroup at smc.vnet.net
  • Subject: [mg105775] Re: using constants from table
  • From: Narasimham <mathma18 at hotmail.com>
  • Date: Fri, 18 Dec 2009 06:23:34 -0500 (EST)
  • References: <hgaflb$q0u$1@smc.vnet.net>

Either the input can be a function of a single constant,or a data
table.
In the former case :
T = Table[{c, Cos[c], c^3/3, 2.3 c }, { c, 0, 2, .25}]
f[a_, b_, c_, d_] : = a + Sqrt[b] + c d;
MapThread[f, Transpose@T]

Narasimham

On Dec 16, 4:18 pm, stelmach <pawel.stelmachow... at gmail.com> wrote:
> Dear users,
>
> I'm having a problem in finding how to use data arranged in a table as
> constants in an equation. What I want to do, is to use A, B, C, D from
> a table in form {{A1, B1, C1, D1},{A2, B2, C2, D2}...{An, Bn, Cn, Dn}}
> in an equation (in the simplest form): Y = A + B^1/2 + C*D and to
> obtain a table (list) of values Y1 ... Yn.
>
> It might be quite simple, but I cannot find it in a manual.
>
> Best regards,
> Pawel S.



  • Prev by Date: Re: A simpl(e)ification
  • Next by Date: User defined color function for discrete data set?
  • Previous by thread: using constants from table
  • Next by thread: Cannot solve very simple equation.