Hi Carl,

On Wed, Jun 10, 2009 at 4:49 PM, Carl Witty<carl.wi...@gmail.com> wrote:

> Is it even possible to use the old typesetting format with the new
> symbolic representation?  For example, "df(sin(x)*cos(x))/dx" is
> represented as -(sin(x)^2 - cos(x)^2)*D[0](f)(sin(x)*cos(x)); it seems
> likely to be difficult to invert that to produce
>
>  {{{\it \partial}}\over{{\it \partial}\,x}}\,f\left(\cos x\,\sin x  \right)
>
> (which is what the old symbolics produced).  And what should
> "D[0](f)(sin(x)*cos(x))" be typeset as?

Agree, this is really a mess. If I follow the simple algorithm,
I get  "\frac{d f\left(\sin\left(x\right) \cos\left(x\right)\right)}
  {d \sin\left(x\right) \cos\left(x\right)}".

Other suggestion (with known pitfalls) could be
 "\frac{d f(z)}{d z}_{|z=\sin(x)\cos(x)}" where the argument itself
is an expression.


While using the new representation, I happened to hit a major
drawback.  For example:   "diff( f(x), x, 20)"  is now represented
 as

"D[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0](f)(x)"

In seems there are no ways to shorten it.

Also, if I do a copy-n-paste of above expression in a new cell. Sage
doesn't recognize "D" function.


Cheers,
Golam

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to