SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
roots() bug with a simple linear system of equations
Rank: Member Groups: Registered
Joined: 15/05/2012(UTC) Posts: 14 Location: Profeta Miqueas Oe10-309 y Tabiazo Was thanked: 7 time(s) in 4 post(s)
|
Trying to solve a simple linear system of equations (2 equations) using the roots() function gave me the error message "No real roots", but changing the order of the elements of one of the equations, solved it. I know this is not so important, but it was interesting to see how SMath`s functions behaves. |
Ecuadorian Electronic engineer and MBA student at Salesian Polytechnic University. |
2 users thanked Jarrinator for this useful post.
|
on 24/06/2013(UTC), on 24/06/2013(UTC)
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Confirmed,
It seems some bug is here.
FindRoot() from Nonlinear Solvers plugin will work well here
FindRoot(mat(A+B-108,2*A-3*B-156,2,1),mat(A≡0,B≡0,2,1))=mat(96,12,2,1)
Regards, Radovan
|
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
2 users thanked omorr for this useful post.
|
on 24/06/2013(UTC), on 24/06/2013(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,990 Was thanked: 1128 time(s) in 724 post(s)
|
Symbolic optimization fails to recognize the difference of the equivalent expresions to zero in one step. If the result is taken and again symbolically optimized, then zero is identified. Perhaps an internal workaround for such problems could be to repeatedly apply symbolic optimization until there are no more changes. |
|
3 users thanked mkraska for this useful post.
|
on 25/06/2013(UTC), on 25/06/2013(UTC), on 29/06/2013(UTC)
|
|
SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
roots() bug with a simple linear system of equations
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.