Empty stack with maple

Empty stack with maple - Empty stack with maple - 消息

#1 已发布: 2021/7/4 01:24:23
Bruno Choquepata

Bruno Choquepata

0个赞,共5个帖子。

组: 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)已下载 1783 次。
#2 已发布: 2021/7/4 01:41:23
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

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

Best regards.
Alvaro.
#3 已发布: 2021/7/4 02:17:03
Bruno Choquepata

Bruno Choquepata

0个赞,共5个帖子。

组: User

Alvaro thanks for you answer but

"kd" is the only value unknown
#4 已发布: 2021/7/4 02:24:47
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: 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位用户喜欢此帖子
Bruno Choquepata 2021/7/4 03:11:00
#5 已发布: 2021/7/4 03:14:36
Bruno Choquepata

Bruno Choquepata

0个赞,共5个帖子。

组: User

Thanks a lot Alvaro
#6 已发布: 2021/7/4 09:29:55
overlord

overlord

600个赞,共1,381个帖子。

组: 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 已发布: 2021/7/4 12:33:54
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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)已下载 1729 次。
#8 已发布: 2026/4/30 00:05:40
Shahid Ally

Shahid Ally

0个赞,共4个帖子。

组: 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)已下载 530 次。

Maple Flow
image.png
#9 已发布: 2026/4/30 18:56:05
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: 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)已下载 566 次。

Best regards.
Alvaro.
2位用户喜欢此帖子
Shahid Ally 2026/5/1 01:13:56, ioan92 2026/5/1 13:09:12
#10 已发布: 2026/5/1 09:34:16
Shahid Ally

Shahid Ally

0个赞,共4个帖子。

组: 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
已编辑 2026/5/1 11:54:47
#11 已发布: 2026/5/2 01:50:24
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: 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.
已编辑 2026/5/2 02:10:16
1位用户喜欢此帖子
Shahid Ally 2026/5/2 02:04:13
#12 已发布: 2026/5/2 02:03:57
Shahid Ally

Shahid Ally

0个赞,共4个帖子。

组: 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
已编辑 2026/5/2 04:02:33
#13 已发布: 2026/5/2 04:11:59
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: 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位用户喜欢此帖子
Shahid Ally 2026/5/3 12:55:15
#14 已发布: 2026/5/3 12:55:39
Shahid Ally

Shahid Ally

0个赞,共4个帖子。

组: User

Thank You!
  • 有新帖
  • 无新帖