Page 1 sur 1

basic analysis of expression

Publié : mer. sept. 22, 2021 4:57 pm
par compsystems
Hello Bernard

Xcas could have a basic analysis of expression in the TOOLBOX menu, similar to what Wolfram does.

Where an equation is entered for example ((x+2)^2)=4 and it shows for example its factorization (with commentary line), expansion, solutions and graph, just by entering the expression in the first line.

See comparative image


Image


Image

Re: basic analysis of expression

Publié : ven. sept. 24, 2021 3:57 pm
par compsystems
Hi

In the expression ((x+2)^2)=4, it can be verified that if the right member is a number, perform the operation [factor, plot, ...] ("pass the member with the opposite sign to the left side"), as other CASs do.

factor( ((x+2)^2)=4 ) → x*(x+4)
plot( ((x+2)^2)=4 )

Re: basic analysis of expression

Publié : jeu. sept. 30, 2021 6:48 pm
par XcasEngGuy
This should be easy to do with a program (script). To add something to Xcas for this seems redundant.

Re: basic analysis of expression

Publié : dim. oct. 03, 2021 4:57 am
par compsystems
Separating expressions and then joining them is easy through a program, but other CASs do it automatically.

I think many would like this feature by default.

Re: basic analysis of expression

Publié : jeu. oct. 07, 2021 8:59 pm
par compsystems
factor( ((x+2)^2) = 4 ) [enter] Run ifactor(4) for integer factorization. =(

factor( ((x+2)^2) - 4 ) [enter] x*(x+4)

Re: basic analysis of expression

Publié : ven. oct. 29, 2021 9:04 pm
par XcasEngGuy
This might help: viewtopic.php?f=19&t=2357