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!"