MathGroup Archive 1998

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

Search the Archive

Re: define function of functions



Yang Hong wrote:

> How do i tell mathematica that i would like to define a function x3(t)
> which is the the function of the functions x1(t) and x2(t)?


x3[t_] := f[x1[t],x2[t]]

x3[4]

f[x1[4],x2[4]]

The left side can be a much more complicated expression.

-- 
Allan Hayes
Training and Consulting
Leicester, UK
hay@haystack.demon.co.uk
http://www.haystack.demon.co.uk
voice: +44 (0)116 271 4198
fax: +44 (0)116 271 8642




  • Prev by Date: Re: Lists and Plus
  • Next by Date: Re: PDEs & Mathematica.
  • Prev by thread: define function of functions
  • Next by thread: Lists and Plus