Maple Tools

Maple Tools - Symbolic engine for SMath Studio. - Messages

#461 Posted: 12/26/2024 2:47:54 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1,076 likes in 1,744 posts.

Group: User

Wrote

In addition to names, parameter types also need to be converted. They need to be supported in both directions. As for trigonometric functions, the SMath tries to automatically work with names, which prevents them from being supported in the plugin in a controlled way.



Hi Viacheslav. Forgetting about types for a moment, if you add a line with "alias(arg=argument, asin=arcsin, ... )" and some other aliases to the plugin's "in.tmp" file, wouldn't it do the conversion automatically?

alias.png

alias2.png

Best regards.
Alvaro.
#462 Posted: 12/26/2024 3:18:42 PM
Вячеслав Мезенцев

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

1,526 likes in 1,836 posts.

Group: Moderator

You can check it yourself. The plugin supports including custom commands using the "with.inc" file. The file content is added automatically with each conversion to the in.tmp file header.
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Alvaro Diaz Falconi 12/26/2024 3:50:00 PM
#463 Posted: 12/26/2024 3:54:20 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1,076 likes in 1,744 posts.

Group: User

Hi Viacheslav. This is the modified with.inc:

with(linalg):with(inttrans):with(plots):
alias(arg=argument, sign=signum, u=Heaviside): 
alias(asin=arcsin, acos=arccos, atan=arctan): 
alias(asec=arcsec, acsc=arccsc, acot=arccot): 
alias(asinh=arcsinh, acosh=arccosh, atanh=arctanh):
alias(asech=arcsech, acsch=arccsch, acoth=arccoth):

And this is the test:

alias.sm (8.84 KiB) downloaded 850 time(s).

alias.png

I use u=Heaviside because there is a plugin with this function, useless for integration, but there must be some other better name. Also, there are some other functions, like GAMMA, Bessel, Airy, etc.

Best regards.
Alvaro.
1 users liked this post
Вячеслав Мезенцев 12/26/2024 5:01:00 PM
#464 Posted: 7/30/2025 2:48:24 PM
Вячеслав Мезенцев

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

1,526 likes in 1,836 posts.

Group: Moderator

Since the maple plugin is used as an intermediary, all interpreters based on it will be located here.

In the future, a separate plugin can be made to remove unnecessary transformations.

The python.exe interpreter must be accessible via known paths.

maple-python-mode.sm (12.22 KiB) downloaded 538 time(s).

image.png

The octave-cli.exe interpreter must be accessible via known paths.

maple-octave-mode.sm (12.45 KiB) downloaded 570 time(s).

image.png
Russia ☭ forever, Viacheslav N. Mezentsev
#465 Posted: 7/30/2025 3:52:21 PM
Вячеслав Мезенцев

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

1,526 likes in 1,836 posts.

Group: Moderator

The same for Tiny C Compiler

maple-tcc-mode.sm (14.41 KiB) downloaded 588 time(s).

image.png
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Andrey Ivashov 7/31/2025 11:43:05 PM
#466 Posted: 11/12/2025 6:55:56 AM
Valery Ochkov

Valery Ochkov

62 likes in 666 posts.

Group: User


Thanks, Slava!
See pls the attach
mapletools-implicitplot3d-Nautilus.sm (271.98 KiB) downloaded 58 time(s).

How can we to put correct view - as in the Maple-picture?
#467 Posted: 11/13/2025 1:42:01 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1,076 likes in 1,744 posts.

Group: User

Hi Valery. I don't know from which version of Maple has implicit plot 3D, but I'm sure version 6 doesn't have it. You can try pMesh or pSurf.

image.png

pMesh-implicit.sm (123.13 KiB) downloaded 50 time(s).

Best regards.
Alvaro.
Edited 11/13/2025 1:43:51 AM
#468 Posted: 11/13/2025 5:14:51 AM
Valery Ochkov

Valery Ochkov

62 likes in 666 posts.

Group: User

Wrote

Hi Valery. I don't know from which version of Maple has implicit plot 3D, but I'm sure version 6 doesn't have it. You can try pMesh or pSurf.

image.png

pMesh-implicit.sm (123.13 KiB) downloaded 50 time(s).

Best regards.
Alvaro.



Thanks, Alvaro!
See pls attachs
mapletools-implicitplot3d-Nautilus.pdf (489.57 KiB) downloaded 34 time(s).
mapletools-implicitplot3d-Nautilus.sm (274.4 KiB) downloaded 52 time(s).
Nautilus.sm (45.81 KiB) downloaded 52 time(s).
Edited 11/13/2025 5:29:54 AM
#469 Posted: 11/13/2025 6:56:15 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1,076 likes in 1,744 posts.

Group: User

Oh, I see. Maple 6 have that function. I also had no idea that you could use setprop with maple plots. I guess then that what you need is to find the right projection. It's difficult since it's not interactive. Maybe this helps.

image.png

mapletools-implicitplot3d-Nautilus mod.sm (26.32 KiB) downloaded 52 time(s).

Best regards.
Alvaro.
1 users liked this post
Valery Ochkov 11/13/2025 11:11:31 AM
#470 Posted: 11/14/2025 3:46:14 AM
Valery Ochkov

Valery Ochkov

62 likes in 666 posts.

Group: User

Tanks, Alvaro!
See pls
mapletools-implicitplot3d-Nautilus.png
mapletools-implicitplot3d-Nautilus.sm (17.81 KiB) downloaded 41 time(s).
Edited 11/14/2025 3:53:50 AM
#471 Posted: 11/14/2025 8:50:30 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1,076 likes in 1,744 posts.

Group: User

Hi. Some improvements, I guess. You can sterilize the units inside a wrapper function. Also, using scaling=constrained looks with the real proportions.

image.png

mapletools-implicitplot3d-Nautilus (2).sm (20.29 KiB) downloaded 50 time(s).

In Maple 11:

nautilus.gif

Also, from other post from you, notice that you can write the temperatures like this

image.png

Best regards.
Alvaro.
Edited 11/14/2025 9:06:20 AM
1 users liked this post
Valery Ochkov 11/14/2025 9:23:42 AM
#472 Posted: 11/18/2025 9:07:03 AM
Valery Ochkov

Valery Ochkov

62 likes in 666 posts.

Group: User

Can you solve this problem? The submarine's cross-section is an ellipse, and the bow and stern are halves of the ellipsoid.
Слабо?
Edited 11/18/2025 9:07:54 AM
#473 Posted: 11/19/2025 7:35:25 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1,076 likes in 1,744 posts.

Group: User

Wrote

Can you solve this problem? The submarine's cross-section is an ellipse, and the bow and stern are halves of the ellipsoid.
Слабо?



Hi Valery. And what's the problem? It has a curious shape, but I suppose it's not one of the strangest I've seen. I don't know what problem you're trying to solve. I thought it was just about getting the graph like in Mathcad.

Best regards.
Alvaro.
#474 Posted: 11/19/2025 10:47:29 AM
Valery Ochkov

Valery Ochkov

62 likes in 666 posts.

Group: User

Wrote

Wrote

Can you solve this problem? The submarine's cross-section is an ellipse, and the bow and stern are halves of the ellipsoid.
Слабо?



Hi Valery. And what's the problem? It has a curious shape, but I suppose it's not one of the strangest I've seen. I don't know what problem you're trying to solve. I thought it was just about getting the graph like in Mathcad.

Best regards.
Alvaro.


Thanks Alvaro for the interest.
The problem - the submarine's cross-section is an ellipse, and the bow and stern are halves of the ellipsoid.
V, S, L=constants, a, b -?
By symbolic and/or numeric math. With 3D-plot with animation!
subm-ellipe.png
Edited 11/19/2025 10:49:19 AM
#475 Posted: 11/20/2025 1:38:49 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1,076 likes in 1,744 posts.

Group: User

Hy Valery. Assuming the cameraman was very skilled and there's no roll angle, and disregarding perspective effects, you can try adjusting the values ​​for a setup similar to the following

image.png

submarine ellipse.sm (295.35 KiB) downloaded 17 time(s).

Best regards
Alvaro
1 users liked this post
Вячеслав Мезенцев 11/21/2025 11:43:46 AM
#476 Posted: 11/21/2025 5:13:21 PM
Valery Ochkov

Valery Ochkov

62 likes in 666 posts.

Group: User

Wrote

Hy Valery. Assuming the cameraman was very skilled and there's no roll angle, and disregarding perspective effects, you can try adjusting the values ​​for a setup similar to the following

image.png

submarine ellipse.sm (295.35 KiB) downloaded 17 time(s).

Best regards
Alvaro



How to calculate the length of an ellipse and the area of an ellipsoid?
#477 Posted: 11/22/2025 12:23:09 AM
Martin Kraska

Martin Kraska

1,288 likes in 2,211 posts.

Group: Moderator

As it is not a political question, you may rely on Wikipedia: https://en.wikipedia.org/wiki/Ellipsoid

grafik.png
elli.sm (13.46 KiB) downloaded 14 time(s).
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Alvaro Diaz Falconi 11/22/2025 5:07:26 AM
#478 Posted: 11/22/2025 12:38:57 AM
Martin Kraska

Martin Kraska

1,288 likes in 2,211 posts.

Group: Moderator

Maxima can be replaced by Gnu Scientific Library plugin.

Edit: Alvaro found a typo and suggested to use the definition of the elliptic integrals directly.

grafik.png
elli.sm (19.21 KiB) downloaded 13 time(s).
Edited 11/22/2025 10:50:21 AM
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Alvaro Diaz Falconi 11/22/2025 10:47:53 PM
#479 Posted: 11/23/2025 9:58:48 AM
Martin Kraska

Martin Kraska

1,288 likes in 2,211 posts.

Group: Moderator

Quote

The problem - the submarine's cross-section is an ellipse, and the bow and stern are halves of the ellipsoid.
V, S, L=constants, a, b -?



The (possibly) elliptical outer hull of the submarine doesn't carry pressure loads. The cross section of the actual internal pressure vessel seems to consist of two circle segments. Elliptical sections would easily collapse under external pressure. Circular sections are bending-free and the internal and external bulkheads and stringers just prevent the hull from buckling due to compressive membrane stress. The outer hull may contribute to that in the sense of a sandwich design. Of course, there might be non-uniform pressure loads due to nearby detonations or collisions with the ground or other vessels.
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Alvaro Diaz Falconi 11/25/2025 3:27:35 AM
  • New Posts
  • No New Posts