Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Jarrinator  
#1 Posted : 24 June 2013 04:15:46(UTC)
Jarrinator


Rank: Member

Groups: Registered
Joined: 15/05/2012(UTC)
Posts: 14
Man
Ecuador
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.
roots() rare behavior

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.
thanks 2 users thanked Jarrinator for this useful post.
on 24/06/2013(UTC),  on 24/06/2013(UTC)

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline omorr  
#2 Posted : 24 June 2013 08:28:09(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

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!"
thanks 2 users thanked omorr for this useful post.
on 24/06/2013(UTC),  on 24/06/2013(UTC)
Offline mkraska  
#3 Posted : 25 June 2013 11:06:19(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,988
Germany

Was thanked: 1127 time(s) in 723 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.
File Attachment(s):
roots.sm (18kb) downloaded 68 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 3 users thanked mkraska for this useful post.
on 25/06/2013(UTC),  on 25/06/2013(UTC),  on 29/06/2013(UTC)
Users browsing this topic
Guest
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.