MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Entering constant placeholders


Hi,

SetAttributes[#, Constant] & /@ {a, b, c}

?

Regards
  Jens

progman wrote:
> 
> I can't seem to make this work.  When I enter the following, I get these
> errors:
> 
> SetAttributes[a,b,c, Constant]
> 
> Syntax::tsntxi: "SetAttributes a,constant" is incomplete; more input is
> needed.
> 
> d(ax^3 + bx^2 + cx + d)/dx
> 
> The answer should be 3ax^2+2bx+c .  I can't figure out how to tell
> mathematica that a,b, & c are constants.
> 
> Thanks


  • Prev by Date: Re: Entering constant placeholders
  • Next by Date: Re: polar curve
  • Previous by thread: Re: Entering constant placeholders
  • Next by thread: RE: Entering constant placeholders