Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'defining list that will be called with arguments' topicStudent Support Forum > General > Archives > "defining list that will be called with arguments"

Next Comment >Help | Reply To Topic
Author Comment/Response
Tejal
04/02/02 08:13am

hi
I have to define a list which will be call recursively once with 6 arguments which have no values and second time 5 arguments and the last argument has some value.

for example:

P[X1_, X2_, X3_] := ((0.2X3 - 0.1) + P[X1, X2])
when it is called first time there is no value passed for x1,x2,x3 and when it is called next time x3 has some value depending upon who is calling it.

can anyone provide me some help?

URL: ,

Subject (listing for 'defining list that will be called with arguments')
Author Date Posted
defining list that will be called with arguments Tejal 04/02/02 08:13am
Re: defining list that will be called with argu... Henry Lamb 04/05/02 03:47am
Next Comment >Help | Reply To Topic