Maple Tools

Maple Tools - Symbolic engine for SMath Studio. - Messages

#221 Posted: 10/13/2015 2:01:52 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Ah ! The 1rst order Laplace solver => done.
Smath is a good baby in there. Andrey is a smart cat
to make Maple work, but decoding the code is another story.

Hope the next solvers come out in ~ two hours each like
this one, but don't trade the bear's skin.

I may have badly cooked the "TurboGen" control ... RemToDo.

Cheers, Jean

ODE Laplace.sm (68 KiB) downloaded 91 time(s).
2 users liked this post
Radovan Omorjan 10/13/2015 3:58:00 AM, Вячеслав Мезенцев 10/13/2015 2:25:00 AM
#222 Posted: 10/14/2015 12:13:38 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Hello,

I try calculate the LambertW function as in the after-mentioned example. During calculations I receive the answer: "function is not defined". I found the name of LambertW function in the cmds file of MapleWrapper plug-in, but I'm not sure that the function is implemented in that plug-in. From the prompt of the plug-in or SMath Studio - I'm not sure, results that the function is not implemented in MapleWrapper. Please for the confirmation is that function implemented or not. Maybe I do something improperly?

_________________________________

Smath does not access Maple "Lambert W" and it is absent in Smath ... bad luck ? !

Not so badluck: I posted [about a month ago] the principal branch, the one that solves
all commonly Lambert W stuff. Where did I attach ? maybe in "Samples". If you can't find
please let me know.

Jean
#223 Posted: 10/14/2015 1:17:14 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Show me log file: {Application Data}\SMath\extensions\plugins\32dfd679-8cfd-483a-b79a-19d5ea838750\1.0.5738.5214\mvr5\mvr5.txt
Clear it first (reopen SMath Studio). Then do calculations. Then attach to the post.
Russia ☭ forever, Viacheslav N. Mezentsev
#224 Posted: 10/14/2015 1:51:37 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

OK, there Maple and Maple Smath.

Visit the Laplace DE solvers just posted in "Samples"

From the posted examples, what a piece of crap Maple in DE's
And you guys don't put the DE in formal "format", that is
most, most, important. That reminds me the Cadarache story.
Many Mathsoft Collabs broke their neck trying to solve DE
instead of simply integrating that peak surge .

Jean
#225 Posted: 4/1/2016 5:39:23 PM
lucart

lucart

1 likes in 3 posts.

Group: User

Hello, I'm here again after such a long time.

I quote my last post if you'd like to remember my question.

Wrote

Hello Everybody

I'm new of this forum and I'm also new in using SMath.

My name is Luca.

I'm a 40 years old italian chemistry and natural science teacher.

I like linux very much and I tried the 0_97_5737 release of SMath on my xubuntu (an ubuntu derivate).

The mono version works well but I tried to use maple plugin to solve an undefined integral like int(1/x;x); it worked well on windows Vista but non in Linux.

I found the same error as omorr (by the way my surname is Romor, if only one moves one letter...!)



Wrote

Is there any way that MapleWrapper could work in Linux? Is there any sense about that? That would be quite interesting

I tried it but it does not work or an error in the maple() region appear:

"File not found: /home/omorr/Downloads/SMathStudioDesktop.0_96_4884.Mono\plugins\mvr5\cmaple.exe"

MaplePlot will just close SMath




I received the error:

"File not found: /home/luca/.config/SMath/extensions/plugins/32dfd679-8cfd-483a-b79a-19d5ea838750/1.0.5738.5214/mvr5\cmaple.exe"

Well, I found that at the end of the error message, before "cmaple.exe" appears a backslash "\"; as long as I'm concerned slash or back slash are more or less the same for windows syntax but not for linux (that accept only /); in fact if I copy and paste the address of the cmaple.exe file in a block notes it appears:

/home/luca/.config/SMath/extensions/plugins/32dfd679-8cfd-483a-b79a-19d5ea838750/1.0.5738.5214/mvr5/cmaple.exe

It seems to me that SMath and his plugin cannot find the cmaple.exe file at all due to this difference in syntax.

May I be near the core of this problem?

Thank you

P.S. I do apologize for my english.



Now with the same linux OS (Xubuntu 14.04 lts) but after several updates, maple, as long as I'm concerned, works fine if Smath (Win version) runs under wine. For example maple(int(1/x;x) is solved correctly.

Senzanome.jpg

So, what can I say?!?

:d :d :d :d :d

Bye and thanks for your work.
1 users liked this post
Andrey Ivashov 6/7/2016 11:40:00 AM
#226 Posted: 6/7/2016 2:43:57 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Guess that the best alternative to maple V is xcas: https://www-fourier.ujf-grenoble.fr/~parisse/giac.html . It is very compatible with maple syntax. After install, check the files aide or aide_cas. There are nice functions like: maple2xcas, maple2mupad, maple_mode. Also, giac.exe can be called from cmd line as giac < infile.txt > outfile.txt, taking maple-like commands. Hope that with that, uni job translating maple to smath and viceversa, can be more or less eassy to this other cas.

Best regards.

Alvaro.
1 users liked this post
#227 Posted: 6/7/2016 4:56:33 AM
Mike Kaganski

Mike Kaganski

184 likes in 434 posts.

Group: User

Wrote

uni job translating maple to smath and viceversa



Hey, that sounds not too polite.
Here at the SMath, Andrey, Uni, Davide, and some others do great job providing program/plugins and help, in their precious time, without any reward except for gratitude (you may check the donations counter at the top of the page). And it's not too friendly to suppose that that hard work is something they are supposed to do. At least, you could use phrasing that would make it apparent, that you are asking for that, and not giving orders. Yes, you found some useful information, and that's great, thank you for that. So please, be mutually polite!
С уважением, Михаил Каганский
#228 Posted: 6/7/2016 5:48:29 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Wrote

Wrote

uni job translating maple to smath and viceversa



Hey, that sounds not too polite.
Here at the SMath, Andrey, Uni, Davide, and some others do great job providing program/plugins and help, in their precious time, without any reward except for gratitude (you may check the donations counter at the top of the page). And it's not too friendly to suppose that that hard work is something they are supposed to do. At least, you could use phrasing that would make it apparent, that you are asking for that, and not giving orders. Yes, you found some useful information, and that's great, thank you for that. So please, be mutually polite!



"uni job translating maple to smath and viceversa" is what uni do in the past, I'm not say anything about who can or must or someting else in the futur. That translation is done, and even my english is very limited, and must to search words like "polite" I don't see any un-polite point in my post. And I use "phrasing that would make it apparent" because, precisely, I don't give orders. After uni starts that project, some years ago I ask (and at this time I actually ask, as you say) for change from MapleV4 to MapleV5, just because this other version is more compatible for futur developments, even MapleV4 is the mathcad 11 version. For example: V4 uses `` as string separator, and V5 "", and have a lot of other oddities which make that version very impractical. Can check that reading old posts in this entry. Given that, and the problems about the licence of maple, issues with maxima plugin, and other considerations, I see a good time right now to point to an open source kernel with maple compatibility, and complete, in some sense, my old recomendation, saying that for me is the best option to maple, attending that what was developed can be re-used in a new plugin, hoping that this change from V4 to V5 can show now that was a good choice. Is that enough polite for you?

Alvaro.
#229 Posted: 6/7/2016 11:57:53 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

I don't understand the the problem with "MapleWrapper"
Maple is the companion that makes Smath so capable in advanced maths:
1. solving DE's [1rst, 2nd order ...]
2. solving the closed control loop
+++++

Uni reported Maple has bugs [no recollection of the list].
The matter is mostly how Maple works in Smath. These 3 work sheets
are typical, I have many more applications. I have not found the
Mathcad equivalent to "float" a result. In many instances: not convenient.

Without Maple, Smath goes flat. Xcas is not new to me, why it didn't
retain my attention ?

Jean

Thiele J_Frac Technique.sm (23 KiB) downloaded 65 time(s).

ODE Laplace 2nd [Unexpected Bug].sm (11 KiB) downloaded 58 time(s).

ODE Laplace.sm (89 KiB) downloaded 67 time(s).
#230 Posted: 8/11/2016 11:39:42 PM
Igor Skarine

Igor Skarine

14 likes in 97 posts.

Group: User

Hi Uni,

Could you please look at cic3-1.sm (7 KiB) downloaded 112 time(s).what is wrong with Maple plugin in Smath 098.6060 ?
The attached worksheet works once after I delete all files in the plugin directory
\32dfd679-8cfd-483a-b79a-19d5ea838750\1.0.6003.18809\mvr5\tmp\*.*
Next time it fails with a message "Cannot create a file when that file already exists".
Smath 098.5973 is the last working fine with Maple Wrapper.

Best regards
#231 Posted: 8/12/2016 3:19:36 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Updated. Try now.
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Igor Skarine 8/12/2016 12:01:00 PM
#232 Posted: 8/12/2016 10:28:08 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Though I don't understand immediately the Maple coding,
must admit it enables plotting this non plottable function.
Does not plot either in Mathcad 11. I bet the coding originates
from some "Maple smart cat". Thanks => saved

Jean

Forum Maple Algo.gif
#233 Posted: 8/12/2016 10:42:00 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... the two eval(,) are superflous, can be removed.
The attached is Smath 5346 official release, must
be checked if working in latest release.

Jean

Symbolic Maple.sm (12 KiB) downloaded 95 time(s).
#234 Posted: 8/21/2016 2:57:47 PM
Igor Skarine

Igor Skarine

14 likes in 97 posts.

Group: User

Hello Uni,

Thank you for your efforts of supporting Maple plug-in.
But since Smath 5973, most of my worksheets failed to work.
The next bug, hopefully is that the later Smath
puts some "unwanted" placeholder for units into result of some symbolic calculations.
The attached screenshot shows such a problem.
If "t" was obtained as a result of calculation, the further symb. calculation failed,
but if I assign "t:=" by copy-pasting the value stripped of the placeholder, it works !
It also possible that some trailing character is removed from the result string.
Uni, could you please look into this issue ?

Thanks and best regards.
example2.png
#235 Posted: 8/21/2016 7:43:46 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Symbolic does not take unit system.
If you isolate 'C' in the working example
and if you select/option/simplify, it should
result in the vector of coefficients.
You may do it otherwise.

Jean

Polynomial coefficients.gif

Polynomial Coefficients LEGENDRE.sm (7 KiB) downloaded 56 time(s).
#236 Posted: 8/21/2016 8:31:34 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... your working 't(x)'should plot something, is it ?
Coefficients by themselves have strictly no meaning,
they DO IF you need the roots. Then your vector of
simplified coefficients will fail, why ?
Smath "polyroots(v)" is slightly underdesigned.
The terminating coefficient CAN'T be '0'.
So, it will report " result above max allowed... "

Cheers, Jean
#237 Posted: 8/23/2016 11:54:50 AM
Igor Skarine

Igor Skarine

14 likes in 97 posts.

Group: User

Jean, it's maybe possible to use workarounds to make my example working, but my post is just a bug report.
Everything works fine in 098.5973 but fails in later builds.
I don't need polyroots at all, I need coefficients to solve a system of nonlinear equations to get eventually values of electrical components.
This is part of semi-digital feedback loop filter, and it really works in hardware.
#238 Posted: 8/23/2016 5:59:54 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Sorry for my Electronic Engineering background 60 years back.
"digital feedback loop filter" rings two bells.
1. LMS filter
2. As you have 4 coefficients, the matter may be Fourier,
pad up, pad down, pad center ... pad at will.

With so few information: can't help.
Mathcad 11 was pretty good at this stuff: Signal Processing Pack,
the DSP download from web ...

Jean

#239 Posted: 8/23/2016 6:07:28 PM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3729 posts.

Group: Super Administrator

Hello.

Wrote

Everything works fine in 098.5973 but fails in later builds.


I've tested the last example you've attached (cic3-1.sm) in latest available SMath Studio with all plug-ins updated - it works ok.

Please could you check if you still see any errors? If yes, please provide a worksheet, so I could reproduce them.

Best regards, Andrey Ivashov.
#240 Posted: 8/24/2016 12:59:59 AM
CBG

CBG

77 likes in 312 posts.

Group: User

You can not install the Maple plugin in Smath Studio , if Smath Studio is in Spanish.

If you put Smath Studio in English , then you can load the plugin Mapler , but when you changes again Smath Studio to Spanish and restarted, then the plugin will not start.

Best Regards

Carlos
  • New Posts New Posts
  • No New Posts No New Posts