Maple Tools

Maple Tools - Symbolic engine for SMath Studio. - Сообщения

#221 Опубликовано: 13.10.2015 02:01:52
Jean Giraud

Jean Giraud

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

Группа: 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 КиБ) скачан 92 раз(а).
2 пользователям понравился этот пост
Radovan Omorjan 13.10.2015 03:58:00, Вячеслав Мезенцев 13.10.2015 02:25:00
#222 Опубликовано: 14.10.2015 00:13:38
Jean Giraud

Jean Giraud

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

Группа: 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 Опубликовано: 14.10.2015 01:17:14
Вячеслав Мезенцев

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

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

Группа: 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 Опубликовано: 14.10.2015 01:51:37
Jean Giraud

Jean Giraud

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

Группа: 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 Опубликовано: 01.04.2016 17:39:23
lucart

lucart

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

Группа: 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 пользователям понравился этот пост
Andrey Ivashov 07.06.2016 11:40:00
#226 Опубликовано: 07.06.2016 02:43:57
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: 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 пользователям понравился этот пост
#227 Опубликовано: 07.06.2016 04:56:33
Mike Kaganski

Mike Kaganski

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

Группа: 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 Опубликовано: 07.06.2016 05:48:29
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: 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 Опубликовано: 07.06.2016 11:57:53
Jean Giraud

Jean Giraud

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

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

ODE Laplace 2nd [Unexpected Bug].sm (11 КиБ) скачан 58 раз(а).

ODE Laplace.sm (89 КиБ) скачан 67 раз(а).
#230 Опубликовано: 11.08.2016 23:39:42
Igor Skarine

Igor Skarine

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

Группа: User

Hi Uni,

Could you please look at cic3-1.sm (7 КиБ) скачан 114 раз(а).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 Опубликовано: 12.08.2016 03:19:36
Вячеслав Мезенцев

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

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

Группа: Moderator

Updated. Try now.
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Igor Skarine 12.08.2016 12:01:00
#232 Опубликовано: 12.08.2016 10:28:08
Jean Giraud

Jean Giraud

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

Группа: 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 Опубликовано: 12.08.2016 10:42:00
Jean Giraud

Jean Giraud

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

Группа: 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 КиБ) скачан 96 раз(а).
#234 Опубликовано: 21.08.2016 14:57:47
Igor Skarine

Igor Skarine

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

Группа: 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 Опубликовано: 21.08.2016 19:43:46
Jean Giraud

Jean Giraud

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

Группа: 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 КиБ) скачан 57 раз(а).
#236 Опубликовано: 21.08.2016 20:31:34
Jean Giraud

Jean Giraud

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

Группа: 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 Опубликовано: 23.08.2016 11:54:50
Igor Skarine

Igor Skarine

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

Группа: 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 Опубликовано: 23.08.2016 17:59:54
Jean Giraud

Jean Giraud

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

Группа: 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 Опубликовано: 23.08.2016 18:07:28
Andrey Ivashov

Andrey Ivashov

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

Группа: 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 Опубликовано: 24.08.2016 00:59:59
CBG

CBG

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

Группа: 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
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений