pdiff and chain rule problem



Hello all,

I would like to obtain the derivative of f(g(x)) with respect to x, using the chain rule, without declaring dependencies. So I thought I'd try pdiff.

kill(all);
load(pdiff);
ans:diff(f(g(x)),x);
 g   (x) f   (g(x))
  (1)     (1)

ok, but now I want it back into the 'normal' diff format
convert_to_diff(ans);  
    d              d                        !
 (-- (g(x))) (------- (f(g16016))!             )
   dx          dg16016                 !
                                              !g16016 = g(x)


I was hoping on an answer without the '16016' stuff. A bug?

Best regards,
Nijso


 		 	   		  
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/