Re: problem writing a simple equation--urgent!!!
- To: mathgroup at smc.vnet.net
- Subject: [mg50362] Re: [mg50359] problem writing a simple equation--urgent!!!
- From: DrBob <drbob at bigfoot.com>
- Date: Mon, 30 Aug 2004 01:34:36 -0400 (EDT)
- References: <200408290754.DAA29976@smc.vnet.net>
- Reply-to: drbob at bigfoot.com
- Sender: owner-wri-mathgroup at wolfram.com
You haven't given me (or Mathematica) any idea what you want u[2,4] to be! And what has x to do with it? Bobby On Sun, 29 Aug 2004 03:54:07 -0400 (EDT), aysegul <erkenays at yahoo.com> wrote: > Hi all, > I have a problem about writing an equation in mathematica. > I am writing the following equation: > u[x_, y_] = x + 2*y > and when I write for example u[2,4] , it gives the result. But the > problem that I have is expressing this equation with parameters. That > is > u[x[1], x[2]] = x[1] + 2*x[2] > but when I ask u[2,4]; > it gives u[2,4] result.It doesn't calculate. > So, how can I write this equation? > Thanks all. > > > -- DrBob at bigfoot.com www.eclecticdreams.net
- References:
- problem writing a simple equation--urgent!!!
- From: erkenays@yahoo.com (aysegul)
- problem writing a simple equation--urgent!!!