Thomas Richard

Mr. Thomas Richard

1763 Reputation

12 Badges

9 years, 271 days
Maplesoft Europe GmbH
Technical professional in industry or government
Aachen, Germany

MaplePrimes Activity


These are answers submitted by Thomas Richard

First of all, using the solve command for a polynomial of high degree and with purely numeric coefficients doesn't make much sense. So let's try fsolve instead. I left that running during today's lunch break, and it got stuck. Which is not a surprise, because finding roots of this polynomial is a terribly ill-conditioned numerical problem, as you can see when setting infolevel[fsolve]:=5 before calling fsolve. Hence more advanced methods are required, and some of them are implemented in the RootFinding package. For a start, I obtained two complex roots with

with(RootFinding):
sols := Analytic(aq,beta,-15-15*I..15+15*I);

To expand that, you will need to play with the range and perhaps with the options; please see ?Analytic for more info.
Good luck!

 

 Not sure if I understand your question correctly, but here's my suggestion:

S:=Sum(f[i],i=0..1)*Sum(g[i,j,k],j=0..1);
value(S);
expand(%); # optionally
L:=[seq(%,k=1..2)];

If this is not what you expected, please specify.

For direct evaluation of finite sums with given bounds, add is typically recommended:

S:=add(f[i],i=0..1)*add(g[i,j,k],j=0..1);

You can skip the value(S) call then.

I think you need the labeldirections option. Please see ?plot,options for the documentation. Here's a shortened example from that page:

plot(cos, -Pi..Pi, labels = ["x values", "y values"], labeldirections = ["horizontal", "vertical"]);

 

This is a known bug in Maple 18 and newer versions on some Windows systems. Our developers are trying to pinpoint those dependencies.

As a workaround, please set Digits:=16 or higher, and then redo the LPSolve call. The performance penalty for small examples should be negligible.

You forgot to enter the list brackets for the upper and lower parameters. Please see the syntax description at ?hypergeom. Here's the corrected input:

hypergeom([(S*lambda2+alpha)/lambda2^2], [1+(S*lambda2+alpha)/lambda2^2], -alpha*exp(-lambda2*eta)/lambda2^2);

Maple 16 appeared before those monitors were widely spread. In later versions, we made adjustments in the GUI, see e.g. here.

What you have in your Maplet definition is actually a list of lists, not a table (in the sense of a data type). A Table is a constructor inside the Maplets:-Elements package. [Note that Maple is case-sensitive!]
So for converting from a Matrix to such a nested list, simply use

M := Matrix([[1, 2], [3, 4]]);
L := convert(M,'list','nested');
with(Maplets:-Elements):
maplet1 := Maplet([BoxCell(Table([A, B], L), 'as_needed'), Button("OK", Shutdown())]):
Maplets:-Display(maplet1);

But your question is about the opposite direction - which is more trivial:

L := [[1, 2], [3, 4]]:
M := Matrix(L);

If that's not what you had in mind, please specify.

This is a question for our Customer Service team (not Technical Support); please see http://www.maplesoft.com/support/

Make sure you include your 16-digit Purchase Code and the school name in your e-mail, and they should be able to help you. The error message sounds as if the school gave you a different installer...

The images that you inserted are not displayed on MaplePrimes. Please try again.

Anyways, if the first error you're getting is "com.maplesoft.externalcall.MapleException: both worksheets are expectedto have the same maple input", then it's just telling you what's wrong. :-)

If "external" means running them independently of Maple: no, that's not possible. There is a Maplet Viewer (shipped with Maple), which essentially displays a splash screen and then the Maplet - without opening the worksheet interface. So that gives the impression of a standalone application.

Note that Maple can also be called from Java programs, besides C and VisualBasic. Please see ?OpenMaple,Java,API for the documentation. Perhaps that is an alternative approach for you.

 

There is no such plugin. But Maple has a simple slideshow mode; please see ?slideshow for more information. It works on all platforms, unlike Excel.

I've never encountered that error message, and I'm afraid nobody can help until you upload the model (msim file), including the optimization worksheet with the GetCompiledProc call. If uploading here is not an option for you, please send it to our technical support group.

Independently of that, inserting

infolevel[GlobalOptimization]:=5:

before calling GlobalSolve might help in pinpointing the problem.

s:=sqrt(3579757):
evala(s);

You entered correct Maple syntax, so that part is done. If your question is about getting rid of the lengthy piecewise expressions in the result: that can probably achieved by appropriate assumptions on a and x (haven't tried that), or by a non-default method. And the result can be simplifed further:

result:=int(sqrt(a^2+cos(x)),x=0..Pi,method=FTOCMS);
c:=combine(result,symbolic);
simplify(c);

However, the presence of EllipticE cannot be circumvented (if that was your goal)...

This can be done interactively. See menu item "File > Export As..." and select Rich Text Format (rtf) from the drop-down list of file types.

Commands such as fopen and fprint deal with writing data to files, i.e. programmatically. But they don't support rtf (and neither doc nor docx).

4 5 6 7 8 9 10 Last Page 6 of 31