Canceling terms

Messages in english

Modérateur : xcasadmin

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

Canceling terms

Message par XcasEngGuy » dim. oct. 15, 2017 9:03 pm

Is there a way to get (s+1) to cancel in lines 2 and 3 the way (s+1)^2 cancels in lines 4 and 5?

Thanks
Matt
Pièces jointes
Xcas_example.gif
Xcas_example.gif (15.54 Kio) Consulté 5093 fois

parisse
Messages : 5882
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: Canceling terms

Message par parisse » lun. oct. 16, 2017 12:21 pm

You must use something more powerful like normal or factor, regroup does not check for inverses.

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

Re: Canceling terms

Message par XcasEngGuy » lun. oct. 16, 2017 2:24 pm

Sorry to press but, why does line 5 work?

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

Re: Canceling terms

Message par XcasEngGuy » lun. oct. 16, 2017 2:26 pm

By the way, is there any way to prevent denom() and numer() from simplifying?

Thank you
Matt

parisse
Messages : 5882
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: Canceling terms

Message par parisse » lun. oct. 16, 2017 2:52 pm

XcasEngGuy a écrit :Sorry to press but, why does line 5 work?
Because the two inverses are following.

parisse
Messages : 5882
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: Canceling terms

Message par parisse » lun. oct. 16, 2017 2:53 pm

XcasEngGuy a écrit :By the way, is there any way to prevent denom() and numer() from simplifying?

Thank you
Matt
getNum and getDenom (except for rational numbers)

Répondre