Factorising?

Factorising? - Messages

#1 Posted: 10/4/2010 5:59:46 PM
bluesky

bluesky

0 likes in 3 posts.

Group: User

I've just started using SMath Studio btw, so apologies if these questions are a bit basic. I have been searching around for answers but couldn't find anything hence I'm posting questions to the forum.

How do I factorize the following expression?

6.p^3 - 30.p^2 + 40.p - 20

I'm using the Windows edition of SMath Studio, build 0.89 (build: 3856)
#2 Posted: 10/5/2010 3:34:17 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello bluesky

I think that SMath has no such a feture yet.
For example:
[MATH=eng]6*p^3-3*p^2-2*p+1[/MATH]
Symbolic engine will give you something like this:
[MATH=eng]6*p^3-3*p^2-2*p+1—1+p*(-2+p*(-3+6*p))[/MATH]
At least you can do having a polynomial is to find roots with polyroots (numerical values):
[MATH=eng]a←polyroots(mat(1,-2,-3,6,4,1))[/MATH]
[MATH=eng]a=mat(-0.58,0.5,0.58,3,1)[/MATH]
[MATH=eng]p←5[/MATH]
[MATH=eng]6*(p-el(a,1))*(p-el(a,2))*(p-el(a,3))=666[/MATH]
[MATH=eng]6*p^3-3*p^2-2*p+1=666@#[/MATH]

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
  • New Posts New Posts
  • No New Posts No New Posts