|
[Date Index]
[Thread Index]
[Author Index]
Re: differentiation operator
- To: mathgroup at smc.vnet.net
- Subject: [mg100662] Re: differentiation operator
- From: dh <dh at metrohm.com>
- Date: Wed, 10 Jun 2009 17:10:59 -0400 (EDT)
- References: <h0nulh$be1$1@smc.vnet.net>
Hi Chee,
I did not thoroughly test it, but if you define:
$Pre = # /. Times[ d expr_ Power[dx, -1]] :> D[expr, x] &
the following examples work:
d/dx x^2 -> 2x
d/dx Sin[x] -> Cos[x]
d/dx (x-x^3) -> 1-3x^2
e.t.c
Daniel
Chee Lim Cheung wrote:
> Hi All
>
> My students have asked me whether it is possible to define the operator
> df[x]/dx for differentiation rather than D[f[x],x]. The operator is
> available in a palette but it does not seem to do anything other than for
> display only.
>
> Example: d/dx(x^2)=2x rather than D[x^2,x]=2x.
>
> Am I missing something?
>
> Thanks
> Mr. Chee
>
Prev by Date:
Re: differentiation operator
Next by Date:
Re: differentiation operator
Previous by thread:
Re: differentiation operator
Next by thread:
Re: Re: differentiation operator
|