MathGroup Archive 2002

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

Search the Archive

RE: Entering constant placeholders


In[3]:=Dt[a x^3 + b x^2 + c x + d, x, Constants -> {a, b, c, d}]
Out[3]=\!\(c + 2\ b\ x + 3\ a\ x\^2\)

Higinio
----- Original Message ----- 
From: progman <dglfl at home.com>
To: mathgroup at smc.vnet.net
Subject: [mg32351] [mg32328] Entering constant placeholders


> 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: How To Change A Rule
  • Next by Date: RE: polar curve
  • Previous by thread: Entering constant placeholders
  • Next by thread: Re: Entering constant placeholders