rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

doesn't factor simple expression #2430

Open rtoy opened 3 months ago

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-06 08:19:30 Created by mpq on 2012-01-11 08:57:06 Original: https://sourceforge.net/p/maxima/bugs/2333


expand( (x - 4 + sqrt(7))*(x - 4 - sqrt(7)) ); factor(%);

it gives result x^2 - 8*x + 9 instead of (x - 4 + sqrt(7))*(x - 4 - sqrt(7))

tested: 1) Maxima version: 5.20.1 Maxima build date: 8:48 2/16/2010 Host type: i686-pc-linux-gnu Lisp implementation type: GNU Common Lisp (GCL) Lisp implementation version: GCL 2.6.7

2) http://icm.mcs.kent.edu/research/demo.html

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-06 08:19:31 Created by aleksasd on 2012-01-11 09:39:06 Original: https://sourceforge.net/p/maxima/bugs/2333/#45c4


Do

expand( (x - 4 + sqrt(7))*(x - 4 - sqrt(7)) ); factor(%,a^2-7); subst(a=sqrt(7),%);

Aleksas D.

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-06 08:19:34 Created by aleksasd on 2012-01-11 09:54:04 Original: https://sourceforge.net/p/maxima/bugs/2333/#9444


Demo from http://icm.mcs.kent.edu/research/demo.html does not work. I use windows 7 and firefox.

Do you have instructions for use?