1 страниц (3 вхождений)
roots() bug with a simple linear system of equations - roots() returns "not real roots" - Сообщения
#1 Опубликовано: 23.06.2013 21:15:46
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.

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 пользователям понравился этот пост
#2 Опубликовано: 24.06.2013 01:28:09
Confirmed,
It seems some bug is here.
FindRoot() from Nonlinear Solvers plugin will work well here
[MATH=eng]FindRoot(mat(A+B-108,2*A-3*B-156,2,1),mat(A≡0,B≡0,2,1))=mat(96,12,2,1)[/MATH]
Regards,
Radovan
It seems some bug is here.
FindRoot() from Nonlinear Solvers plugin will work well here
[MATH=eng]FindRoot(mat(A+B-108,2*A-3*B-156,2,1),mat(A≡0,B≡0,2,1))=mat(96,12,2,1)[/MATH]
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
2 пользователям понравился этот пост
#3 Опубликовано: 25.06.2013 04:06:19
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.
roots.sm (17 КиБ) скачан 118 раз(а).
roots.sm (17 КиБ) скачан 118 раз(а).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
3 пользователям понравился этот пост
1 страниц (3 вхождений)
-
Новые сообщения
-
Нет новых сообщений