how to use maple solve with undirect input of system of equation?

how to use maple solve with undirect input of system of equation? - Messages

#1 Posted: 8/24/2021 7:06:49 AM
Stefano

Stefano

0 likes in 22 posts.

Group: User

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 (10 KiB) downloaded 42 time(s).
#2 Posted: 8/24/2021 9:38:44 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

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
#3 Posted: 8/24/2021 9:44:16 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

I will be back later. You can explicit RootOf
Jean
#4 Posted: 8/24/2021 11:43:39 AM
Stefano

Stefano

0 likes in 22 posts.

Group: User

Wrote

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.
#5 Posted: 8/24/2021 12:29:48 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I will be back later. You can explicit RootOf



allvalues.PNG

#6 Posted: 8/24/2021 12:57:45 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Explicit the Triplet [R1, R2, R3]

allvalues Triplet.PNG
#7 Posted: 8/24/2021 2:22:42 PM
sergio

sergio

115 likes in 329 posts.

Group: User

kompre,
You can use the Solve command of the maxima plugin. maxima_Solve_system.sm (7 KiB) downloaded 65 time(s).
P.S. I believe that Jean's solution is not correct because the solutions are not ordered

sergio
#8 Posted: 8/25/2021 4:03:01 AM
Stefano

Stefano

0 likes in 22 posts.

Group: User

Wrote

kompre,
You can use the Solve command of the maxima plugin. maxima_Solve_system.sm (7 KiB) downloaded 65 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 :d )
  • New Posts New Posts
  • No New Posts No New Posts