SMath Studio Forum
»
SMath Studio
»
Questions
»
solve does not work with two equations
Rank: Newbie
Groups: Registered
Joined: 27/10/2021(UTC) Posts: 3 Location: Horw
|
Hi, something is going wrong, but what? I tried to solve two equations (x+y = 15 and x-y = 5), but the solver means "Assign variable" ??? If I do the same with just one exuation, it works? (I'm new with Smath and just want to evaluate If we should use SMath or Mathcad Prime instead of Matcad 15 in future) kind regards Thomas
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 14/09/2013(UTC) Posts: 90 Was thanked: 24 time(s) in 16 post(s)
|
roots() is the appropriate command to solve this system
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 27/10/2021(UTC) Posts: 3 Location: Horw
|
Originally Posted by: fedeghi roots() is the appropriate command to solve this system Thanks very much! But why?
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 14/09/2013(UTC) Posts: 90 Was thanked: 24 time(s) in 16 post(s)
|
Different commands with different purpose, I guess. Solve will work in finding multiple roots for one function, roots will find the "roots" of a non-linear system. Developers may explain in depth why different commands for differents purpose have been implemented. By the way, since you are approaching now SMath you may find useful to read a couple of "handbooks" prepared by some PRO users . Some are available through the extension manager (Tools->Snippet Manager). Among the ones available, I remember I read the two that I am highlighting in the image. If you want to download this two (or even any other handbook), select "online gallery" instead of "local storage", and you will see the complete list.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 27/10/2021(UTC) Posts: 3 Location: Horw
|
Originally Posted by: fedeghi Different commands with different purpose, I guess. Solve will work in finding multiple roots for one function, roots will find the "roots" of a non-linear system. Developers may explain in depth why different commands for differents purpose have been implemented. By the way, since you are approaching now SMath you may find useful to read a couple of "handbooks" prepared by some PRO users . Some are available through the extension manager (Tools->Snippet Manager). Among the ones available, I remember I read the two that I am highlighting in the image. If you want to download this two (or even any other handbook), select "online gallery" instead of "local storage", and you will see the complete list. Thanks again Okay, I was looking for more than a hour why it does not work and i found lots of examples with "Solve" (not the same as "solve"?)... I will have a look on it!
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 14/09/2013(UTC) Posts: 90 Was thanked: 24 time(s) in 16 post(s)
|
Solve() is the solver that uses Maxima plugin solve() is the built-in solver. Solve() (big S :^P) will only become available in your system in case you decide to install Maxima plugin. I am not using Maxima plugin and so I cannot give you further details about differences between Solve() and solve() Bye ps: be sure to add also interactive guide by mkraska in you SMath (again, you will find it in the relevant extension manager section) It is super-useful to find quick interactive (and wisely "read only".. ) references for a lot of commands. Edited by user 27 October 2021 11:30:10(UTC)
| Reason: Not specified
|
|
|
|
Rank: Member Groups: Registered
Joined: 05/08/2021(UTC) Posts: 22
|
I am big fan of Solve() by the Maxima plugin and recommend it. With Solve() you can symbolically solve system of non linear equation without the need of defining before hands all the parameters: for example if you want to solve a parametric function like "x+a=0", Solve() will return a solution "x=-a" even if "a" is not defined, wherever solve() will complain about "a" not being defined. My understanding is that native SMath Studio is optimized to solve stuff numerically, like a spreadsheet. If you want to be more abstract, then you need to use appropriate plugins. For example you can solve only defined integrals with native SS, where with Maxima Plugin you extend SS to handle also indefinite integral solve_vs_maxima.sm (13kb) downloaded 22 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: kompre My understanding is that native SMath Studio is optimized to solve stuff numerically, like a spreadsheet. If you want to be more abstract, then you need to use appropriate plugins. For example you can solve only defined integrals with native SS, where with Maxima Plugin you extend SS to handle also indefinite integral Visit Samples Symbolic COMPENDIUM... Download them all.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,125 Was thanked: 506 time(s) in 337 post(s)
|
While Maxima is superior to maple plugin, it requires maxima download and installation separately. We Linux users can use native maxima in terminal but we can't use Maxima plugin with SMath. This conclude with our only option, maple plugin. And it can answer all questions in your file. Regards
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: Thohasius (I'm new with Smath and just want to evaluate If we should use SMath or Mathcad Prime instead of Matcad 15 in future) kind regards Thomas
Smath is not a clone of Mathcad 11. There are no known unsolved demand in Smath.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,125 Was thanked: 506 time(s) in 337 post(s)
|
Originally Posted by: Thohasius I'm new with Smath and just want to evaluate If we should use SMath or Mathcad Prime instead of Matcad 15 in future?
You should use SMath right now, not specifically in future.
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
solve does not work with two 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.