Strange behaviour in a simple problem



Greetings, and thanks!  I've verified that this is the problem, and
that all works with c1->k1 and c2->k2.  This closes this issue --
please feel free to reopen if I'm mistaken.

Take care,

"Barton Willis" <willisb@unk.edu> writes:

> In the function definition
> 
> m2p(c1,c2,t1,t2, b0,b1,b2,tau) := (c1*((1 + 0.01*ns(b0,b1,b2,tau,
> t1))^-t1))
>                                   +
>                                   (c2*((1 + 0.01*ns(b0,b1,b2,tau,
> t2))^-t2));
> 
> try changing the names of the first two arguments to something like
> k1 and k2; thus
> 
> m2p(k1,k2,t1,t2, b0,b1,b2,tau) := (k1*((....
> 
> I think this will fix your problem. In Maxima, identifiers of the
> form ci,di, and ei, i=1,2,... get bound to command lines or display
> lines.
> 
> c1 & c2 are fairly natural choices for  identifers; however, they cause
> trouble in Maxima. We've talked about changing the identifiers for command
> and display lines.
> 
> Barton
> 
> 
> 
> 
> 

-- 
Camm Maguire			     			camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah