Thomas Richard

Mr. Thomas Richard

3255 Reputation

13 Badges

15 years, 96 days
Maplesoft Europe GmbH
Technical professional in industry or government
Aachen, North Rhine-Westphalia, Germany

MaplePrimes Activity


These are answers submitted by Thomas Richard

Did you load the correct package before?

with(FileTools[Text]);

Then what error message did you get from WriteFile?

Your command sequence works fine for me.

Yes, it's an add-on product that has to be purchased separately. Please see here for the product page. You can also enter ?GSToolboxes,Chapter02 in Maple to get some idea of it.

It's very easy to install then. Afterwards, you can launch Maple and enter things like

sol := GlobalOptimization:-GlobalSolve(targfun,x1=0..1,x2=0..1,x2=0..1,x3=0..1,x4=0..1,maximize);

for a start. There are many more options, an interactive assistant, lots of documentation, examples, etc.

Edit: I forgot to add that you can also call that command from MATLAB via the Maple Toolbox, just like any other Maple command.

Does this FAQ on creating a desktop shortcut for the MSK help?

For Maple, there should be both a desktop icon and a start menu entry. No need to search for any executables. If not, there may be an installation issue on your system. Please contact our support department in that case.

Such results can often be simplified by converting them into polylogarithms first:

int(ln(1+x)/(1+x^2),x=0..1);
convert(%,polylog);
simplify(%);

Independently of that, it's good that you discovered 'identify', which can help in many cases where no exact result is known or implemented (including other systems such as Mma).

You probably need to use convert(...,Matrix) and B := Matrix(...). The matrix data type (with lowercase-m) is outdated. If you want to read about the background, see e.g. ?LinearAlgebra,General,aboutdata.

Maple has solvers for some Matrix equations (LyapunovSolve, the more general SylvesterSolve, CARE and DARE (continuous and discrete algebraic Riccati equations)) in the LinearAlgebra package, but nothing for ineqalities. Maybe they can serve as a tool in your investigations.

No, unfortunately that feature is not covered. Please see here.

I haven't checked for this particular library, but some limitations currently apply in MapleSim's import feature:

- the package or library must be based on Modelica 3.1 (also 3.0 may work)

- Fluid and Media domains are not supported

- Stream connectors are not supported

We have plans to lift some of these restrictions in future MapleSim versions, but there is nothing to be announced at this time.

What you describe is a partial factorization, or factoring out a+b (there may be even more names for the same concept). It can be achieved by

expr := a*ln(u) + b*ln(u) + a*ln(v)+b*ln(v):

collect(expr,ln);

Whereas factor(expr) returns the full factorization.

[Edited: wrong term used]

You cannot avoid using BitRock installer, but you can run it in silent (unattended) mode. Please see Maple 18's Install.html and/or our FAQ for the details.

It cannot be scrolled nor zoomed into, but you should try changing

Tools > Options > Interface > Arrangement of math context menus

to Condensed, then click one of the Apply buttons.

The programmatic equivalent is interface(contextmenusize=condensed);

I think you want this conversion:

sol := convert(a*cos(gamma)+b*sin(gamma)+c, phaseamp, gamma);

Please see ?convert,phaseamp for the details.

Make sure you unchecked "Always insert new execution group after executing" under Tools > Options > Display.

When grouping expressions, you need to replace square brackets by parentheses. See this part of eq3:

[Ip+mp*l^2+mp*d*l*cos(alpha(t))]

Square brackets in Maple are needed for lists and indices. Hasn't this been asked just yesterday? ;-)

Also, I don't think it makes sense to enter so many tags in one posting...

I don't have a Mac in our office, but tried on 64-bit Linux, following instructions at ?OpenMaple,C,Examples, and the compiled program works as expected with both simplify calls.

The error message that you quote does not look OpenMaple-specific. Does that simplify call work in an interactive Maple session on your system?

Unless already done, you should install the updates 16.02 and 16.02a from http://www.maplesoft.com/support/downloads/index.aspx.

Make sure there are no side effects caused by initializations in your ~/.mapleinit file (if any).

First 27 28 29 30 31 32 33 Last Page 29 of 43