MathGroup Archive 2002

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

Search the Archive

Re: Stupid simple question about counting derivatives

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33466] Re: [mg33437] Stupid simple question about counting derivatives
  • From: Tomas Garza <tgarza01 at prodigy.net.mx>
  • Date: Fri, 22 Mar 2002 04:06:44 -0500 (EST)
  • References: <200203211427.JAA18170@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Are you sure you're leaving a space between the a and the x in a x? If you
aren't, then ax is a symbol, an unknown symbol, and that is why you're
getting those answers:

In[1]:=
D[ax, x]
Out[1]=
0

In[2]:=
D[a*x, x]
Out[2]=
a

In[3]:=
Dt[ax, x]
Out[3]=
Dt[ax, x]

In[4]:=
Dt[a*x, x]
Out[4]=
a + x*Dt[a, x]

Tomas Garza
Mexico City
----- Original Message -----
From: "Jack" <kielczew at poczta.onet.pl>
To: mathgroup at smc.vnet.net
Subject: [mg33466] [mg33437] Stupid simple question about counting derivatives


> How do I get Mathematica 2.2 to count the derivatives of the simplest
> parametric functions, i.e.
>
> (ax)', where a is the parameter and x is the variable. I want to get:
>
> a
>
> (Hey, I said it was stupid).
>
> D[ax,x] gets me 0, Dt[ax,x] gets me Dt[ax,x] and I haven't figured out
> how to use Constants and NonConstants. I'd be grateful for any help as
> this simple problem is driving me crazy.
>
>
> --
> Jacek Kie³czewski
> kielczew at poczta.onet.pl
>
>
>
>
>



  • Prev by Date: How to pass an input to the child MathKernel?
  • Next by Date: Re: Approximation of a Function
  • Previous by thread: Re: Stupid simple question about counting derivatives
  • Next by thread: Re: Stupid simple question about counting derivatives