Maxima 5.24.0 http://maxima.sourceforge.net
using Lisp GNU Common Lisp (GCL) GCL 2.6.7 (a.k.a. GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
                                    2
(%i1)                         diff(x  sin(x), x)
(%i2)                            tex(%, false)
(%o2) $$2\,x\,\sin x+x^2\,\cos x$$