basic analysis of expression

Messages in english

Modérateur : xcasadmin

compsystems
Messages : 544
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

basic analysis of expression

Message par compsystems » mer. sept. 22, 2021 4:57 pm

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

compsystems
Messages : 544
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

Re: basic analysis of expression

Message par compsystems » ven. sept. 24, 2021 3:57 pm

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 )

XcasEngGuy
Messages : 84
Inscription : mer. janv. 13, 2010 3:20 pm

Re: basic analysis of expression

Message par XcasEngGuy » jeu. sept. 30, 2021 6:48 pm

This should be easy to do with a program (script). To add something to Xcas for this seems redundant.

compsystems
Messages : 544
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

Re: basic analysis of expression

Message par compsystems » dim. oct. 03, 2021 4:57 am

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.

compsystems
Messages : 544
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

Re: basic analysis of expression

Message par compsystems » jeu. oct. 07, 2021 8:59 pm

factor( ((x+2)^2) = 4 ) [enter] Run ifactor(4) for integer factorization. =(

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

Répondre