solve does not work with two equations

solve does not work with two equations - Messages

#1 Posted: 10/27/2021 4:30:58 AM
Thohasius

Thohasius

0 likes in 3 posts.

Group: User

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

Unbenannt.jpg
#2 Posted: 10/27/2021 4:45:07 AM
fedeghi

fedeghi

25 likes in 112 posts.

Group: User

roots() is the appropriate command to solve this system

Immagine 2021-10-27 094426.png
#3 Posted: 10/27/2021 4:53:06 AM
Thohasius

Thohasius

0 likes in 3 posts.

Group: User

Wrote

roots() is the appropriate command to solve this system

Immagine 2021-10-27 094426.png




Thanks very much!

But why?
#4 Posted: 10/27/2021 5:08:48 AM
fedeghi

fedeghi

25 likes in 112 posts.

Group: User

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.
Immagine 2021-10-27 100215.png
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.
#5 Posted: 10/27/2021 5:11:46 AM
Thohasius

Thohasius

0 likes in 3 posts.

Group: User

Wrote

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.
Immagine 2021-10-27 100215.png
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!
#6 Posted: 10/27/2021 5:22:59 AM
fedeghi

fedeghi

25 likes in 112 posts.

Group: User

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)
Immagine 2021-10-27 101948.png
It is super-useful to find quick interactive (and wisely "read only".. ) references for a lot of commands.
#7 Posted: 10/27/2021 6:16:51 AM
Stefano

Stefano

0 likes in 22 posts.

Group: User

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 (12 KiB) downloaded 41 time(s).
#8 Posted: 10/27/2021 11:47:18 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

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.

#9 Posted: 10/27/2021 6:53:48 PM
overlord

overlord

552 likes in 1332 posts.

Group: Moderator

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

2021-10-27_16-21.png
#10 Posted: 10/29/2021 11:22:09 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

(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.
#11 Posted: 10/30/2021 1:54:50 AM
overlord

overlord

552 likes in 1332 posts.

Group: Moderator

Wrote

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.

  • New Posts New Posts
  • No New Posts No New Posts