Page 1 sur 1

Canceling terms

Publié : dim. oct. 15, 2017 9:03 pm
par XcasEngGuy
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

Re: Canceling terms

Publié : lun. oct. 16, 2017 12:21 pm
par parisse
You must use something more powerful like normal or factor, regroup does not check for inverses.

Re: Canceling terms

Publié : lun. oct. 16, 2017 2:24 pm
par XcasEngGuy
Sorry to press but, why does line 5 work?

Re: Canceling terms

Publié : lun. oct. 16, 2017 2:26 pm
par XcasEngGuy
By the way, is there any way to prevent denom() and numer() from simplifying?

Thank you
Matt

Re: Canceling terms

Publié : lun. oct. 16, 2017 2:52 pm
par parisse
XcasEngGuy a écrit :Sorry to press but, why does line 5 work?
Because the two inverses are following.

Re: Canceling terms

Publié : lun. oct. 16, 2017 2:53 pm
par parisse
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)