Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'a simple problem. urgent' topicStudent Support Forum > General > Archives > "a simple problem. urgent"

Next Comment >Help | Reply To Topic
Author Comment/Response
Aysegul Tepe
08/28/04 5:37pm

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.It doesn't work
So, how can I write this equation?
Thanks all.

URL: ,

Subject (listing for 'a simple problem. urgent')
Author Date Posted
a simple problem. urgent Aysegul Tepe 08/28/04 5:37pm
Re: a simple problem. urgent Forum Modera... 09/08/04 12:09pm
Next Comment >Help | Reply To Topic