Thomas Richard

Mr. Thomas Richard

3327 Reputation

13 Badges

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

MaplePrimes Activity

These are answers submitted by Thomas Richard

From the View menu, select Markers. A column will be inserted to the left of the worksheet. Scroll down until you see two document block markers with a thin red line. On both of these, right-click to open the context menu, then select Document Block > Show Command. The Typesetting:-RuleAssistant() lines will become visible then. Delete both and save your worksheet.

These products do not come bundled, so they have to be purchased separately.

Also take a look at the disjoint sets of platform support: Maple Calculator is available for Android and iOS; Maple on Windows, Linux, and macOS.

On Windows and macOS, I'm not getting any KCL either. However, value(u) returns this integral unevaluated.

We can convert the sines to exponentials, and then simplify (I haven't tried much here):


A result in terms of Lommel functions.

What OS are you running Maple on?

In case of Windows, this FAQ page should help. Another customer confirmed this to me just a few days ago.

P.S. I suppose you mean the font size, as opposed to the font as such...

Maple does not convert that cosine value to an algebraic number by default, so we need to insert one step (or two if wanted):

rt := cos(2*Pi/7);
ro := convert(rt,RootOf);
# if you want to see an explicit representation of the root:
ra := convert(ro,radical);


No, a KCL error is not expected, of course. Supplying a method option helps, though:


Here's an approach using conversion to complex exponentials and then evalc'ing.

Probably not the most efficient, but easy to write down...



sineExpr := (m::posint) -> local t, j; add(mul(ifelse(j <> t, sin(a[j] - b[t])/sin(b[j] - b[t]), sin(a[t] - b[t])), j = 1 .. m), t = 1 .. m);

proc (m::posint) local t, j; options operator, arrow; add(mul(ifelse(j <> t, sin(a[j]-b[t])/sin(b[j]-b[t]), sin(a[t]-b[t])), j = 1 .. m), t = 1 .. m) end proc



























The r.h.s. of your solution (multiplied by a constant factor) can be obtained via


which is also confirmed by odetest.

Your initial example cannot be correct; please plot the hypergeom and the elementary representations. Maybe some typo or copy&paste error (which I often make...)?

Three of the four in your list are covered by



The recommended tool for evaluating algebraic numbers is evala. However, some preprocessing is needed for this expression:


In theory, factoring should not be necessary. So that's a weakness, I'd say.

In the definition of C2, you need to remove all the spaces so that it's recognized as a floating-point number, just like the other parameters. Otherwise it will be interpreted as an expression involving the unbound symbol e, which is syntactically valid - thus no error message appears.

The solve call will provide the approximate roots then, without resorting to RootOf representations. And no need to call allvalues.

You almost had it correct; essentially only the curly braces around Cond had to be removed. Some more cleanup was done in the attached file.

Edit: two errors of mine fixed

You could strip off the first column by appending [..,2..] to the definition of TR. However, that is ignored by the summarize=embed option. To work around, omit the option and do the embedding in a separate step:

TR := FrequencyTable(Obs, weights = Eff, headers, tableweights = [4, 2, 2, 2, 2])[..,2..]:

By the way, some previous steps can be shortened considerably, e.g.

Obs := lhs~(L):
Eff := rhs~(L):

If we supply one more item in the first list, it will work right away.

And for the second list, did you mean to start with 0, or perhaps 2? If I choose the latter, a simple result is found:

List1 := [0,4,16,36,64,100,144]:
List2 := [2,3,6,11,18,27,38]:

R1 := listtorec(List1,f1(n));
rsol1 := rsolve(op(1,R1),f1(n));

R2 := listtorec(List2,f2(n));
rsol2 := rsolve(op(1,R2),f2(n));


Try this function definition instead:

phi := (x, y) -> Transpose(Multiply(Miv,<x,y,1>));


1 2 3 4 5 6 7 Last Page 1 of 43