Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

How to find the sum of the series sum(3^(-n)*floor((1/7)*2^(n+2)), n = 1 .. infinity) with Maple?

A more serious formulation is the following. Let us consider the cartesian product
 {1, 2, 3, 4, 5, 6, 7, 8} x {1, 2, 3, 4, 5, 6, 7, 8} as a subset of the plane xOy. What is its maximal subset which does not include three points belonging to a straight line? How to find this with Maple? I don't know the answer. My hypothesis is the number of the elements of that set is about 10.

Hello,

 

I have a very basic question: how to make a list of matrices?

For instance, this doesn't work:

for i from 1 to 4 do
M[i]:=Matrix(2,2,[[1,i],[i,i^2]]);

od;

 

Many thanks!

I am very new to Maple. I would be very grateful if someone could teach me how to write a command in an Maple worksheet to do the following:

Let u(x) be a function of x.

How can I introduce an abbreviation of derivatives so u1x (or u_{1x}) is the first derivative of u(x) with respect to x, i.e., u1x=\partial u/\partial x; u2x (or u_{2x}) is the second derivative of u(x) with respect to x, i.e., u2x=\partial^2 u/\partial x^2; u3x (or u_{3x}) is the third derivative of u(x...

Hello,

I was wondering if there is any function to represent matrices into linear equations. For an example,

if A=Matrix([[1,2],[2,3]]) , B=Matrix([[x[1]], [x[2]]]) and C=

Is it possible to simplify for example the expression

5^2 * 5^(1/2)

to get

5^(5/2) ?

 

PS: I am sorry if it was asked and answered, I can't find it.

I have defined a function q(t) in Maple as:

q(t):=ln(cosh(t));

I then calculate it's 15th (!) derivative and assign it a name:

diffq(t):=diff(q(t),t$15)

 

I wish to maximize this function on the domain [0,50], so do the following:

In economics, variables are always real and often positive.

With assume(x>=0) I can set this for individual variables. But with many variables it is arduous.

Is it possible to set by default all variables to >=0 and define ony the exceptions individually?

Thanks you !

With Maple I get the following result

A*x^`beta` = R-A*`beta`/(x^(1-`beta`)*(1-t))

For easier interpretation I would prefer the following, equivalent form:

1/(1-t) * 1/(R-A x^beta) = 1/(A*beta) * x^(1-beta)

I tryed a lot,...

Hi!

I have to maple worksheets: one called test.mw and another called wholecode.mw. I read a file with

read(filename); from both .mw sheets.

but then test.mw file gives me a correct result while wholecode.mw does not execute the linalg commands. For example, in filename there is:

for i from 1 to 8 do

    s:=col(A,i);
    A1[i] := dotprod([1, x1, x2, x3], s);

od;

while test.mw gives the result wholecode.mw just gives

INPUT:
  [1,2] + [3,4]*x
DESIRED OUTPUT:
  [1+3*x, 2+4*x] as a list

Right now I do the following:
  >  combined := evalm([1,2] + [3,4]*x);

combined := [1 + 3*x, 2 + 4*x]

 
  >  combined := convert(combined, 'list');

combined := [1 + 3*x, 2 + 4*x]

The reason I need to use...

Hello, I have a set of equations, and I want to solve it over the integers (mod 13). But msolve command fails. Here is my code:

eq:={a4*a1-11, a4*a2-12, a4*a3-6, a5*a1-3, a5*a2-8, a5*a3-4, a6*a1-2, a6*a2-1, a6*a3-7};
msolve(eq,13);

It fails, but I can solve it manually. Here is a solution:

a4*a1 = 11 => a4:=1 and a1:=11

a4*a2 = 12 => a2:=12

a4*a3 = 6 => a3:=6

a5*a1 = 3 => a5:=3/11 mod 13 = 5

a5*a2 = 8 => a2:=8/5 mod 13 = 12

Hi there,

 I have a piece of code that uses lists instead of vectors and recently, it crashed, it ran out of memory. Long story short, if I use vectors instead of lists, the performance is much better and optimal (this I knew but I was lazy to translate all my code). However, there's one single line that I cannot efficiently translate and it's the one that uses the function member(). Before, I had the following (it's an oversimplification of my code in order to easily discuss it in here):

In the name of God

 

Hello all,

Look at these instructions, entered in maple16(x64):

 

temp:=Matrix(25000):

--- Up to now, about 5 Gb's of my 8Gb memory is occupied and no problem

unassign('temp');

gc()

temp:=Matrix(25000):

Error, (in Matrix) Maple was unable to allocate enough memory to complete this computation. Please see

hello i am using maple and i really like it but one part about it that i do not like is the following:

  • the program forces me to use the mouse. it makes me point and click as if I'm a little child and I find this very degrading. Please help.

For example, how do I perform "insert maple input after the current execution group" with the keyboard? And how do I find/configure other keyboard shortcuts? Thanks in advance.

First 1526 1527 1528 1529 1530 1531 1532 Last Page 1528 of 2224