Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Using function' topicStudent Support Forum > General > "Using function"

Next Comment >Help | Reply To Topic
Author Comment/Response
Darshan Shrestha
03/31/06 4:11pm

Can somebody tell me why this is not working?
qaz = Mime[2]

Mime[x_] := Module[{ko, m1, m2, qo, qa, qb, a},
ko = 5; m1 = 2; m2 = 5;
qo[a_] := ko*a
qa[a_] := ko*m1*a
qb[a_] := ko*m2*a
k = qo[x] + qa[x] + qb[x], k
]

The error message is:
Module::"argrx": "\!\(Module\) called with \!\(3\) arguments; \!\(2\) \
arguments are expected."

Darshan


URL: ,

Subject (listing for 'Using function')
Author Date Posted
Using function Darshan Shre... 03/31/06 4:11pm
Re: Using function S. Saralamba 04/02/06 06:24am
Next Comment >Help | Reply To Topic