Maxima Plugin

Maxima Plugin - 消息

#281 已发布: 2020/3/24 11:10:39
netsonicyxf

netsonicyxf

2个赞,共79个帖子。

组: User

Wrote

Wrote

I have a portable version of Smath 0.99.7251. The Maxima is under D:\Program Files\Math Tools\SMath Studio\extensions\plugins\44011c1e-5d0d-4533-8e68-e32b5badce41\1.98.7100.23756\
I put the above path into insert->settings, but it show "Cannot find maxima.bat"



Did you install Maxima? If not, follow the link in my signature and see the instructions for installing and configuring Maxima. The plugin just provides the interface.



Thanks. I installed Maxima 5.42.2.
But still can't get result. SM file attached.
maxima.png
maxima.sm (2.97 KiB)已下载 1717 次。
#282 已发布: 2020/3/24 13:01:31
Jean Giraud

Jean Giraud

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

组: User

Why so much trouble for ordinary stuff vs Smath Native ?

Native.PNG
#283 已发布: 2020/3/24 22:22:03
netsonicyxf

netsonicyxf

2个赞,共79个帖子。

组: User

Wrote

Why so much trouble for ordinary stuff vs Smath Native ?

Native.PNG



Thanks Jean, but can't get result either.

error:"x not defined"

maple.sm (2.01 KiB)已下载 1722 次。
#284 已发布: 2020/3/25 00:32:16
CBG

CBG

78个赞,共312个帖子。

组: User

put the optimization to symbolic or none

Maple_simbolic.png

Best Regards

Carlos
#285 已发布: 2020/3/25 06:04:40
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

Wrote

Wrote

Wrote

I have a portable version of Smath 0.99.7251. The Maxima is under D:\Program Files\Math Tools\SMath Studio\extensions\plugins\44011c1e-5d0d-4533-8e68-e32b5badce41\1.98.7100.23756\
I put the above path into insert->settings, but it show "Cannot find maxima.bat"



Did you install Maxima? If not, follow the link in my signature and see the instructions for installing and configuring Maxima. The plugin just provides the interface.



Thanks. I installed Maxima 5.42.2.
But still can't get result. SM file attached.



You have to set Optimization to Symbolic or None to display symbolic results. You can also press Ctrl+. instead of = to get symbolic results from an expression.

@Jean: maple isn't SMath native, you see that if you try it in the cloud version. Also, the legal/license status of the embedded maple executable has never been clarified. There might be people who care about this.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#286 已发布: 2020/3/25 09:46:52
Jean Giraud

Jean Giraud

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

组: User

Wrote

@Jean: maple isn't SMath native, you see that if you try it in the cloud version. Also, the legal/license status of the embedded maple executable has never been clarified. There might be people who care about this.


YES Martin. On the other hand, Maple is the former Macsyma
joint venture MIT/UT [University of Toronto].
Hard to legal/license to freeware Smath.
The very core Maple is largely due to Angot ancestor.
Thanks Martin ... Cheers/Jean

#287 已发布: 2020/10/8 07:00:15
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

This is an example on how to control the assumptions used for symbolic integration in Maxima.

1-2-4 Widerstandskrafte.png
1-2-4 Widerstandskrafte.sm (12.13 KiB)已下载 1711 次。
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
2位用户喜欢此帖子
sergio 2020/10/8 15:45:00, IVR 2020/10/10 12:24:00
#288 已发布: 2020/10/10 20:52:49
Jean Giraud

Jean Giraud

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

组: User

Get more from less ... typical.

Int More.PNG
#289 已发布: 2020/11/23 16:28:27
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

Animation in Maxima
Плагин Maxima не имеет встроенной возможности анимации.
Для создания анимации использовалась программа
https://en.smath.com/forum/yaf_postsm48012_Graph-animation.aspx#post48012
Для записи Gif файла использовалась программа GifCam.


povorot1.sm (74.29 KiB)已下载 1685 次。
SpiralMaxima.sm (45.77 KiB)已下载 1701 次。


3位用户喜欢此帖子
Andrey Ivashov 2020/11/23 17:36:00, Martin Kraska 2020/11/23 18:06:00, IVR 2020/11/25 07:19:00
#290 已发布: 2020/11/23 16:35:47
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

Visualization of animation steps

Slider.sm (159.76 KiB)已下载 1749 次。
2位用户喜欢此帖子
Andrey Ivashov 2020/11/23 17:36:00, Martin Kraska 2020/11/23 18:06:00
#291 已发布: 2020/11/23 18:15:12
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

Wrote

Animation in Maxima
Плагин Maxima не имеет встроенной возможности анимации.
Для создания анимации использовалась программа
https://en.smath.com/forum/yaf_postsm48012_Graph-animation.aspx#post48012
Для записи Gif файла использовалась программа GifCam.


Very nice. Here is a version with absolute variables (names starting with ~, not easy to input with german keyboard) for execution counter. BTW, the original version reads temp storage before it is written. This throws an error similar to what would happen if I had not checked for a being undefined.

povorot1_kr.sm (75.16 KiB)已下载 1726 次。
povorot1_kr.png
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1位用户喜欢此帖子
Fridel Selitsky 2020/11/23 19:10:00
#292 已发布: 2020/11/23 18:35:41
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

Vibrations of a rectangular membrane





Vibration Restangular Membrane.sm (184.22 KiB)已下载 1700 次。
1位用户喜欢此帖子
Andrey Ivashov 2020/11/23 19:03:00
#293 已发布: 2020/11/23 19:10:35
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

Thanks a lot, Martin. Wonderful! I was not aware of the IsDefined function.
#294 已发布: 2020/11/24 11:09:18
Jean Giraud

Jean Giraud

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

组: User

Thanks Champions: Martin, Ber7
#295 已发布: 2020/11/24 17:37:40
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

Vibrations of a circular membrane.The general case

https://en.smath.com/forum/yaf_postst11431_Vibrations-of-membranes.aspx



CircleAntisiimmetr.sm (252.68 KiB)已下载 1698 次。
#296 已发布: 2021/5/6 21:12:01
Arie

Arie

94个赞,共285个帖子。

组: User

Wrote

Wrote

We really need a linux port



I agree. Maybe, just an adjustment of the command line for establishing the socket connection is required. Under Windows I use

maxima-installation-path/bin/maxima.bat -l sbcl -s

This requires
- the .net socket stuff and process control to work under mono,
- a unicode-proof lisp compiler to be installed (which accepts utf-8 socket encoding), under win the only one is steel bank common lisp (SBCL).

Also, I need to know the name of the maxima process for detection of active maxima processes via System.Diagnostics.Process.GetProcessesByName(name). This is required to identify the pid for later kill. Under windows this might be "maxima" or "lisp" or "sbcl". This has changed over the years and may be different under linux.

The plugin might work even as it is, if the maxima startup script is renamed to maxima.bat.

Any information from the linuxing SMatheers is welcome.

BTW, there is a maxima build for android as well...

EDIT: It would also help, if someone could explain me how to build and debug the plugin under Linux. Under Win, I use VS 2015 with the project as found in the SVN repository. Otherwise I need to blindly make changes under win and install and test under linux. This would be a huge drawback compared to the win-only workflow, where compiling and running SMath with the new build in the debugger is just a push of a single button...



Bringing up this topic again. Has there been any progress on this?

Is this at all helpful for building the plugin in linux?

https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/intro
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#297 已发布: 2021/5/7 05:36:07
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

Wrote

Wrote

Wrote

We really need a linux port



I agree. Maybe, just an adjustment of the command line for establishing the socket connection is required. Under Windows I use

maxima-installation-path/bin/maxima.bat -l sbcl -s

This requires
- the .net socket stuff and process control to work under mono,
- a unicode-proof lisp compiler to be installed (which accepts utf-8 socket encoding), under win the only one is steel bank common lisp (SBCL).

Also, I need to know the name of the maxima process for detection of active maxima processes via System.Diagnostics.Process.GetProcessesByName(name). This is required to identify the pid for later kill. Under windows this might be "maxima" or "lisp" or "sbcl". This has changed over the years and may be different under linux.

The plugin might work even as it is, if the maxima startup script is renamed to maxima.bat.

Any information from the linuxing SMatheers is welcome.

BTW, there is a maxima build for android as well...

EDIT: It would also help, if someone could explain me how to build and debug the plugin under Linux. Under Win, I use VS 2015 with the project as found in the SVN repository. Otherwise I need to blindly make changes under win and install and test under linux. This would be a huge drawback compared to the win-only workflow, where compiling and running SMath with the new build in the debugger is just a push of a single button...



Bringing up this topic again. Has there been any progress on this?

Is this at all helpful for building the plugin in linux?

https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/intro



There is no progress from my side. Also, for me, there is no chance of digging into it for at least one more year. If someone wants to do that now, I am ready to help. Yet I think that the plugin is merely a demonstrator of what could be done. It lacks a systematic and clean approach, due to lack of proper knowledge on SMath, Maxima and C# internals. It definitely requires a lot of refactoring or re-design from scratch before extending it.




Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#298 已发布: 2021/5/13 15:44:42
pk_mechanical_eng

pk_mechanical_eng

0个赞,共3个帖子。

组: User

Hi Guys,

I'am using Smath for quite a while and already tried to use the Maxima plugin several times without any success.

I was able to do the setup as shown here: https://en.smath.com/forum/yaf_postst2078_Maxima-Plugin.aspx

But unfortunately in Smath the Int() function for symbolic integration never works. I'm pretty sure that I'm missing a little part. Can anyone help me please?

Example:
MaximaPlugin.PNG

When I do define x I get the following error
MaximaPlugin1.PNG

And when I do assign something else than a number i get:
MaximaPlugin2.PNG
#299 已发布: 2021/5/13 17:05:17
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

Wrote

Hi Guys,

I'am using Smath for quite a while and already tried to use the Maxima plugin several times without any success.

I was able to do the setup as shown here: https://en.smath.com/forum/yaf_postst2078_Maxima-Plugin.aspx

But unfortunately in Smath the Int() function for symbolic integration never works. I'am pretty sure that I'am missing a little part. Can anyone help me please?

Example:
MaximaPlugin.PNG



This is because you use numeric optimization (context menu). If you expect symbolic results, use symbolic optimization ("none" also works, it shows the result from Maxima without further processing by SMath).

Wrote



When I do define x I get the following error
MaximaPlugin1.PNG


The error message is correct. The integration variable must be unassigned.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#300 已发布: 2021/5/13 20:03:57
Jean Giraud

Jean Giraud

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

组: User

Wrote

I'am using Smath for quite a while and already


... but you have missed the best from Generous Smath Community.
1. Always/first plot the integrand.
2. You integrate over a ranged variate.
3. maple is delivered with native Smath.

Integrate wisely.PNG
  • 有新帖
  • 无新帖