Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

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

Search the Archive

Re: best solution?

  • To: mathgroup at
  • Subject: [mg22916] Re: best solution?
  • From: Jens-Peer Kuska <kuska at>
  • Date: Thu, 6 Apr 2000 02:04:33 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <8ce9t3$>
  • Sender: owner-wri-mathgroup at



F[a_, b_, c_, x_] := a Sin[b x + c]
k = {{a1, b1, c1}, {a2, b2, c2}, {a3, b3, c3}};


F[Sequence @@ #, x] & /@ k

will output 

{a1 Sin[c1 + b1 x], a2 Sin[c2 + b2 x], a3 Sin[c3 + b3 x]}

There are hundreds of other solutions.

Hope that helps

Peter Weijnitz wrote:
> I have a function e.g F[a,b,c,x] =a Sin[b x +c]  and a number of parameter
> triplets
> k={{a1,b1,c1},{a2,b2,c2},{a3,b3,c3},....}.
> I would like to feed my function the parameter values in an good and simple
> way, how?
> (Picking out the elements like k[[3,2]]=b3 e.t.c is not what I want.)
> /Peter

  • Prev by Date: Pi == 3 for imprecise values of 3?
  • Next by Date: Command to get a notebook's directory?
  • Previous by thread: Re: best solution?
  • Next by thread: RE: best solution?