Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Re: Entering constant placeholders

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32345] Re: Entering constant placeholders
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 16 Jan 2002 03:29:53 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <a20mbq$4ge$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

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