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 kompre  
#1 Posted : 24 August 2021 13:06:49(UTC)
kompre


Rank: Member

Groups: Registered
Joined: 05/08/2021(UTC)
Posts: 22
Italy

Hi,

I am pretty new to smath and I have some trouble with the maple plugin trying to solve a simple system of equation.

If I input the system of equation directly in the maple(solve(sys{}, var{})), I have no trouble solving the system of equation.

Elsewhere if I define the system of equation outside the maple(solve(...)), e.g. s=sys{...}, and then call it by name in the maple(solve(s, ...)), then I get no solution.

What I am missing?

I attach a minimal working example

maple_solve_system.sm (11kb) downloaded 23 time(s).

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

Offline uni  
#2 Posted : 24 August 2021 15:38:44(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Unfortunately, maple function can only work with arguments given directly. Your case requires an expression translation operation, which is difficult to implement in the general case. This function is recommended for simple symbolic operations.
Russia ☭ forever
Viacheslav N. Mezentsev
Offline Jean Giraud  
#3 Posted : 24 August 2021 15:44:16(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
I will be back later. You can explicit RootOf
Jean
Offline kompre  
#4 Posted : 24 August 2021 17:43:39(UTC)
kompre


Rank: Member

Groups: Registered
Joined: 05/08/2021(UTC)
Posts: 22
Italy

Originally Posted by: uni Go to Quoted Post
Unfortunately, maple function can only work with arguments given directly. Your case requires an expression translation operation, which is difficult to implement in the general case. This function is recommended for simple symbolic operations.


Thanks for clarification.

Is there another method or plugin recommended to solve symbolically a system of equation?

I kinda stumbled upon maple searching trough the forum, but also found reference to the maxima plugin. I am not sure which is the best case and gravitated toward maple because it didn't require further installation aside from the plugin itself.
Offline Jean Giraud  
#5 Posted : 24 August 2021 18:29:48(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
I will be back later. You can explicit RootOf


allvalues.PNG

Offline Jean Giraud  
#6 Posted : 24 August 2021 18:57:45(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Explicit the Triplet [R1, R2, R3]

allvalues Triplet.PNG
Offline PompelmoTell  
#7 Posted : 24 August 2021 20:22:42(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 319
Man
Italy
Location: italy

Was thanked: 109 time(s) in 93 post(s)
kompre,
You can use the Solve command of the maxima plugin. maxima_Solve_system.sm (8kb) downloaded 33 time(s).
P.S. I believe that Jean's solution is not correct because the solutions are not ordered

sergio
Offline kompre  
#8 Posted : 25 August 2021 10:03:01(UTC)
kompre


Rank: Member

Groups: Registered
Joined: 05/08/2021(UTC)
Posts: 22
Italy

Originally Posted by: PompelmoTell Go to Quoted Post
kompre,
You can use the Solve command of the maxima plugin. maxima_Solve_system.sm (8kb) downloaded 33 time(s).
P.S. I believe that Jean's solution is not correct because the solutions are not ordered

sergio



Thank you!

This seems to be exactly what I was looking for

(I try to use the thank button, but get an error, so accept non statistical gratitude Biggrin )
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.