11 years, 0 days

Copying texts to the clipboard...

Maple

Hello,

Is there a Maple command for copying a text to the clipboard ? (Apart from using the contextual menu or the Edit-Copy menu option)

For example:

ee := x^2+y^2+z^2

CopyToClipboard( convert(ee,string) )

Thank you,

Sum vs expanded form...

Maple 16

N:=3;

sum1 := lcm(N, 0)+lcm(N, 1)+lcm(N, 2)+lcm(N, 3);

sum2 := sum(lcm(N, k), k = 0 .. N);

Why is sum2 wrong?

Regards,

Inverse of convert/base...

Dear friends:

If

n:=197

then

d:=convert(n,base,10) --> returns [7,9,1]

Is there a simple way for getting back n from d, i.e., 197 from [7,9,1] , not using a for loop?

Thanks and best regards

Finding a term into an expression...

Maple 16

Dear friends:

I have a long expression having a/some RootOf(something..) inside it.

Any way to get just that "something..", i.e., the argument of RootOf() from that expression?

Thank you very much.

Printing Western European characters fro...

Maple 18

Sorry if this has been already posted.

When print() is invoked from a proc into a module, non-English characters are not properly displayed with Maple 18.

It works ok if it is invoked from within the workbook.

Example:
print("Están en perspectiva")

Put this sentence in a proc into a module and the character "á" wont be displayed

Output: "Est�n en perspectiva"

Any hint about how to treat this issue?

Thank you very much.