wxMaxima-developers / wxmaxima

A gui for the computer algebra system Maxima built with wxWidgets
https://wxMaxima-developers.github.io/wxmaxima/
Other
460 stars 96 forks source link

Derivatives now show a product sign in front of every variable #1825

Closed richardgobeli closed 6 months ago

richardgobeli commented 8 months ago

I think this will screw up later calculations and substitutions. There is a product in front of the n and r in the derivative. I did not see this before because I was using derivabbrev:true, which hides this effect.

image It seems to be coming from the mathlisp part of WxMaxima.

image

Xmaxima seems to be OK. image image

richardgobeli commented 8 months ago

This maybe a problem of the xml code of Maxima.

gunterkoenigsmann commented 8 months ago

Resolved with 36e05d45cddf627b51a9e527d1cf6b64111faa2a

richardgobeli commented 8 months ago

I see this was only a display issue when the multiply sign was being displayed. It was hidden when I had the product sign hidden. I see this fix in branch deriv did not get merged with the main master branch yet.

richardgobeli commented 8 months ago

I think you got 1/2 of the issue with the independent variable. The product in the numerator is still there.

image

richardgobeli commented 6 months ago

The derivative of an expression is an operator on the expression and the product in front of the N(r) is really out of place. At most, it would convert to a parenthesis around the expression N(r) to show that the derivative operator works on the contents of the parenthesis. I don't understand your FracCell test so I was not going to attempt a fix. It should be like this in xmaxima. image