Empty stack with maple

Empty stack with maple - Empty stack with maple - Messages

#1 Posted: 7/4/2021 1:24:23 AM
Bruno Choquepata

Bruno Choquepata

0 likes in 5 posts.

Group: User

Hi everyone

I have to try to solve this equation with maple and solve but I only get the result "Empty stack", Someone knows solve it?

Moment_Curvature relationship.sm (940.84 KiB) downloaded 1209 time(s).
#2 Posted: 7/4/2021 1:41:23 AM
Alvaro

Alvaro

1,094 likes in 1,764 posts.

Group: User

Hi. It seems that you put kd( ... ) instead kd*( ... ) in the maple solver.

Best regards.
Alvaro.
#3 Posted: 7/4/2021 2:17:03 AM
Bruno Choquepata

Bruno Choquepata

0 likes in 5 posts.

Group: User

Alvaro thanks for you answer but

"kd" is the only value unknown
#4 Posted: 7/4/2021 2:24:47 AM
Alvaro

Alvaro

1,094 likes in 1,764 posts.

Group: User

In the first expression it is kd( ... ). In the second it is kd*( ... ). There the maple answer uses RootOf, I'm guess that because you have another issue in the expression. For instance A.s*Fy have units of Newtons, but the other part not.

Clipboard01.jpg

Best regards.
Alvaro.
1 users liked this post
Bruno Choquepata 7/4/2021 3:11:00 AM
#5 Posted: 7/4/2021 3:14:36 AM
Bruno Choquepata

Bruno Choquepata

0 likes in 5 posts.

Group: User

Thanks a lot Alvaro
#6 Posted: 7/4/2021 9:29:55 AM
overlord

overlord

593 likes in 1,371 posts.

Group: Moderator

Wrote

Thanks a lot Alvaro


Alvaro is right.
Left side of equation is N (kg*m/s^2), right side is J (kg*m^2/s^2).
A dimension should be extra or missing in that equation.
Probably not correct solution but if you equate units;

2021-07-04_15-29.png

Regards
#7 Posted: 7/4/2021 12:33:54 PM
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

1. RootOf expands easily [Example 1]
2. root is undocumented, most precious for dual solver [Example 2]
3. allvalues ... most precious in invlaplace [Example 3]

Maple RootOf Example.sm (38.42 KiB) downloaded 1227 time(s).
#8 Posted: 4/30/2026 12:05:40 AM
Shahid Ally

Shahid Ally

0 likes in 4 posts.

Group: User

Maple Solve "stack error" when solving for complex values using abs() - Tried using the solve function using different syntax but i keep getting "stack error"
I know i could just square both side then solve, but why does this not work
any help would be apprciated



image.png

Maple Solve.sm (10.41 KiB) downloaded 34 time(s).

Maple Flow
image.png
#9 Posted: 4/30/2026 6:56:05 PM
Alvaro

Alvaro

1,094 likes in 1,764 posts.

Group: User

Hi. Maple's plugin isn't like Maxima's in that it doesn't "remember" previous instructions. You have to include them all in the same call.

image.png

maple assume.sm (5.36 KiB) downloaded 25 time(s).

Best regards.
Alvaro.
2 users liked this post
Shahid Ally 5/1/2026 1:13:56 AM, ioan92 5/1/2026 1:09:12 PM
#10 Posted: 5/1/2026 9:34:16 AM
Shahid Ally

Shahid Ally

0 likes in 4 posts.

Group: User

Thank you for your help.
Im still new to SMath and Maple so i apologize if some of my questions are silly, its just hard finding resources and tutorials for using maple in SMath.

Q1
I just found these other slightly strange results using Maple to solve that equation. I'm not too concerned with it, i just want to know what the proper way of doing this would be.

Q2
Additionally need a bit of help figuring out how to integrate with limits of a space curve. I am able to do indefinite integrals but im unsure how to do definite ones.

image.png


Q3
How would i differentiate space curves

Q4
how do i do element wise operations on matrices with maple. I know in SMath you can just use the 'vectorise' button but that does not seem to work with maple

Q5
how do i sum the values of a matrix? I tried add() and sum(), neither worked


any other tips or guides for using maple in SMath would be appreciated
Edited 5/1/2026 11:54:47 AM
#11 Posted: 5/2/2026 1:50:24 AM
Alvaro

Alvaro

1,094 likes in 1,764 posts.

Group: User

Hi. Happy Labor Day, Some few notes

Q1
I just found these other slightly strange results using Maple to solve that equation. I'm not too concerned with it, i just want to know what the proper way of doing this would be.

First, this version of maple is from year 2000, Therefore, many of their results will be incomplete, "primitive", or simply wrong.

image.png

Regarding Ans1, it seems to be solving the equation for a, not for z. The same goes for Ans2, but I don't really understand what kind of answer maple is giving.

Regarding Ans3, SMath simplifies the result in that way; you can see it by going to Optimization -> None

image.png

Notice that SMath's simplification rules perform the following conversion, where Maple has nothing to do with it.

image.png

Regarding Ans4, the problem becomes very difficult for this version of Maple, since the root becomes complex to a real, but negative.

Q2
Additionally need a bit of help figuring out how to integrate with limits of a space curve. I am able to do indefinite integrals but im unsure how to do definite ones.

Use vectorize:

image.png

Q3
How would i differentiate space curves

Use vectorize:

image.png

Q4
how do i do element wise operations on matrices with maple. I know in SMath you can just use the 'vectorise' button but that does not seem to work with maple

The plugin doesn't translate SMath's vectorize function to maple, but you can use it externally, as in the integral example or this other one, where SMath doesn't know the exponential and sine integral functions, but maple does

image.png

Q5
how do i sum the values of a matrix? I tried add() and sum(), neither worked

Use sum( ... ) from SMath:

image.png

any other tips or guides for using maple in SMath would be appreciated

You can see the first page and subsequent pages of the plugin, where the author usually provides the most relevant examples of how to use it and what he created it for.

Best regards.
Alvaro.
Edited 5/2/2026 2:10:16 AM
1 users liked this post
Shahid Ally 5/2/2026 2:04:13 AM
#12 Posted: 5/2/2026 2:03:57 AM
Shahid Ally

Shahid Ally

0 likes in 4 posts.

Group: User

love you bro

last question is just how do i take the divergance, curl or gradient of a function

image.png

thanks for all the help
Edited 5/2/2026 4:02:33 AM
#13 Posted: 5/2/2026 4:11:59 AM
Alvaro

Alvaro

1,094 likes in 1,764 posts.

Group: User

Hi. Please, check some of the files in this old post:

https://smath.com/en-US/forum/topic/oSEzxZ/Grad_-Div-and-Curl-in-a-curvilinear-coordinate-system

Best regards.
Alvaro.
1 users liked this post
Shahid Ally 5/3/2026 12:55:15 PM
#14 Posted: 5/3/2026 12:55:39 PM
Shahid Ally

Shahid Ally

0 likes in 4 posts.

Group: User

Thank You!
  • New Posts
  • No New Posts