Empty stack with maple

Empty stack with maple - Empty stack with maple - Сообщения

#1 Опубликовано: 04.07.2021 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 КиБ) скачан 1209 раз(а).
#2 Опубликовано: 04.07.2021 01:41:23
Alvaro

Alvaro

1 094 сообщений из 1 764 понравились пользователям.

Группа: User

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

Best regards.
Alvaro.
#3 Опубликовано: 04.07.2021 02:17:03
Bruno Choquepata

Bruno Choquepata

0 сообщений из 5 понравились пользователям.

Группа: User

Alvaro thanks for you answer but

"kd" is the only value unknown
#4 Опубликовано: 04.07.2021 02:24:47
Alvaro

Alvaro

1 094 сообщений из 1 764 понравились пользователям.

Группа: 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 04.07.2021 03:11:00
#5 Опубликовано: 04.07.2021 03:14:36
Bruno Choquepata

Bruno Choquepata

0 сообщений из 5 понравились пользователям.

Группа: User

Thanks a lot Alvaro
#6 Опубликовано: 04.07.2021 09:29:55
overlord

overlord

593 сообщений из 1 371 понравились пользователям.

Группа: 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 Опубликовано: 04.07.2021 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 КиБ) скачан 1227 раз(а).
#8 Опубликовано: 30.04.2026 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 КиБ) скачан 35 раз(а).

Maple Flow
image.png
#9 Опубликовано: 30.04.2026 18:56:05
Alvaro

Alvaro

1 094 сообщений из 1 764 понравились пользователям.

Группа: 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 КиБ) скачан 26 раз(а).

Best regards.
Alvaro.
2 пользователям понравился этот пост
Shahid Ally 01.05.2026 01:13:56, ioan92 01.05.2026 13:09:12
#10 Опубликовано: 01.05.2026 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
Отредактировано 01.05.2026 11:54:47
#11 Опубликовано: 02.05.2026 01:50:24
Alvaro

Alvaro

1 094 сообщений из 1 764 понравились пользователям.

Группа: 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.
Отредактировано 02.05.2026 02:10:16
1 пользователям понравился этот пост
Shahid Ally 02.05.2026 02:04:13
#12 Опубликовано: 02.05.2026 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
Отредактировано 02.05.2026 04:02:33
#13 Опубликовано: 02.05.2026 04:11:59
Alvaro

Alvaro

1 094 сообщений из 1 764 понравились пользователям.

Группа: 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 03.05.2026 12:55:15
#14 Опубликовано: 03.05.2026 12:55:39
Shahid Ally

Shahid Ally

0 сообщений из 4 понравились пользователям.

Группа: User

Thank You!
  • Новые сообщения
  • Нет новых сообщений